摘要: 之前看到一道关于值类型在装箱和拆箱上的题目,觉得很有意思,所以就拿出来分享一下大家可以先用几分钟的时间在心里做个答案再往下看 这样或许帮助更大 class Program { static void Main(string[] args) { Point p = new Point(1,1); Console.WriteLine(p); p.Change(2,2); Console.WriteLine(p); object o = p; ... 阅读全文
posted @ 2013-08-17 17:15 Eric0229 阅读(795) 评论(1) 推荐(0) 编辑