14.C#编程指南-多态性
摘要:
View Code public class Shape{ // A few example members public int X { get; private set; } public int Y { get; private set; } public int Height { get; set; } public int Width { get; set; } // Virtual method public virtual void Draw() { Console.WriteLine("Performing base... 阅读全文
posted @ 2012-05-16 23:28 YeChun 阅读(271) 评论(0) 推荐(0) 编辑