摘要:
class Program { //引用方法参数调用 static void add(ref int i) {//不用对参数进行初始化 i++; } static void Main() { int j = 0; //J在堆栈中的内存会指针给i add(ref j); Console.WriteLine(j); } }class Program { static void add(out in... 阅读全文
posted @ 2007-07-14 14:44
季沫
阅读(274)
评论(0)
推荐(0)
浙公网安备 33010602011771号