摘要: 先看一段代码,先猜猜下面标注1、2、3、4、5、6、7、8、9、10 的地方的输出情况注:使用 Snippet Compiler Live 2008 编辑器 1 public static void RunSnippet() 2 { 3 ITest a = new Test(); 4 a.Say(); // 1 5 6 a = new App(); 7 a.Say(); // 2 8 9 a = new Strong();10 a.Say(); // 311 12 ... 阅读全文
posted @ 2011-12-03 23:22 Leaf.Duan 阅读(740) 评论(2) 推荐(0)