您的位置:首页 > 编程语言 > C#

C#方法中的params参数类型

2006-07-07 17:43 281 查看
我有一方法如下:
public string GetByCriteria(params string[] strs)
//单个实体
this.GetByCriteria("test");

//数组
this.GetByCriteria(strs);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: