摘要:
class Parent { public void Print() { Console.WriteLine(this.GetType()); } } class Child : Parent { } class Program { static void Main(string[] args) { Child c = new Child(); c.Print(); } }输入结果: 阅读全文
posted @ 2014-02-22 10:05
jiehu5114
阅读(130)
评论(0)
推荐(0)
浙公网安备 33010602011771号