摘要: 这里讨论下引用参数传递的一些tips 关于参数传递的具体解析,参考传递参数(C# 编程指南) 传递一个引用的时候,改变参数的引用地址 static void Foo(object o) { o = null; Console.WriteLine(o == null ? "NULL" : "NOT NULL"); ... 阅读全文
posted @ 2012-08-18 16:48 refeiner 阅读(2326) 评论(0) 推荐(0) 编辑