摘要:
第4章 C#的高级特性 4.1 委托 4.1.2 多播委托 对值为 null 的委托变量进行 + 或 += 操作,等价于为变量指定一个新值: SomeDelegate d = null; d += SomeMethod1; // 等价于 d = SomeMethod1 委托是 不可变 的,因此调 阅读全文
摘要:
第3章 在C#中创建类型 3.1 类 复杂的类可能包含如下内容: 在 class 关键字之前:类特性(Attribute)和类修饰符。非嵌套的类修饰符有:public、internal、abstract、sealed、static、unsafe 和 partial。 紧接 Your 阅读全文