03 2016 档案

第3章 C#中的委托和事件
摘要:.NET框架中的委托和事件 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization.Formatters.Bina 阅读全文

posted @ 2016-03-27 21:59 liuslayer 阅读(189) 评论(0) 推荐(0)

第2章 C#中的泛型
摘要:2.1 理解泛型2.1.1 为什么要有泛型 并不一定要使用字符T作为类型参数的名称,也可以使用其他的字符,但习惯上使用T。 2.1.2 类型参数约束什么是“向下的强制转换(downcast)”?因为Object是所有类型的基类,Book类继承自Object类,在这个金字塔状的继承体系中,Object 阅读全文

posted @ 2016-03-26 10:22 liuslayer 阅读(267) 评论(0) 推荐(0)

导航