摘要: 当参数超过5个时,建议用结构来传递多个参数。示例代码如下:public struct MyStruct{ public string str; public int number;}class Program{ static void Main(string[] args) { MyStruct myStruct = new MyStruct(); myStruct.str = "Number :"; myStruct.number = 100; MyClass mc = new MyClass(); ... 阅读全文
posted @ 2013-09-27 10:13 IT浪潮之巅 阅读(666) 评论(0) 推荐(0) 编辑
   友情链接: 淘宝优惠券