摘要: 继承:解决类中的代码冗余; //Main函数 static void Main(string[] args) { Rep r = new Rep("张三"); r.Msg(); } Console.ReadKey(); //父类 public class Person { private strin 阅读全文
posted @ 2017-10-27 12:14 雪wolf 阅读(122) 评论(0) 推荐(0) 编辑