摘要: 总结: 接口中不能有字段,可以有属性,需要设置get;set 访问器 阅读全文
posted @ 2019-05-04 21:30 liliyou 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 自动实现的可以用属性初始化器来初始化: 阅读全文
posted @ 2019-05-04 15:51 liliyou 阅读(76) 评论(0) 推荐(0) 编辑
摘要: #define debug using System; using System.Linq; using System.Diagnostics; namespace ConsoleApp1 { class Program { static void Main(string[] args) { say(); ... 阅读全文
posted @ 2019-05-04 11:55 liliyou 阅读(78) 评论(0) 推荐(0) 编辑