摘要: 一. 接口的类型 接口是引用类型.因此从值类型赋值给接口是需要装箱的.如下所示: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 ISay catSay = new Cat(); 6 catSay.Say(); 7 Consol 阅读全文
posted @ 2016-12-04 22:22 gudi 阅读(1450) 评论(0) 推荐(0) 编辑