摘要:
与所有的 out 参数一样,在使用数组类型的 out 参数前必须先为其赋值,即必须由被调用方为其赋值。例如: C# 复制代码static void TestMethod1(out int[] arr) { arr = new int[10]; // definite assignment of arr } 与所有的 ref 参数一样,数组类型的 ref 参数必须由调用方明... 阅读全文
posted @ 2008-03-26 10:57
s80895304
阅读(585)
评论(0)
推荐(0)