摘要: class Program { static void Main(string[] args) { string str= DB.write.ToDescription(); Console.WriteLine(str); Console.ReadKey(); } ... 阅读全文
posted @ 2016-10-19 17:27 haohaizi 阅读(9031) 评论(0) 推荐(0) 编辑
摘要: 接口的实现分为显示实现和隐式实现 用显示实现接口的目的就是为了,当一个类中实现多个具有相同方法的接口时,能够区分开来 在调用的时候,必须用接口调用。 阅读全文
posted @ 2016-10-19 16:31 haohaizi 阅读(187) 评论(0) 推荐(0) 编辑