DotNet技术培训-课件.pptxVIP

  • 2
  • 0
  • 约小于1千字
  • 约 52页
  • 2021-10-23 发布于河北
  • 举报
第4章 C#高级特性,异常,调试;本章内容; 4.1 程序的组织;名字空间;嵌套类型;程序集;csc /target:mod /out:Add.mod Add.cs csc /target:mod /out:Multi.mod Multi.cs al /target:library /out: MyLibrary.dll Add.mod Multi.mod csc /target:exe /out:MyClient.exe /reference:MyLibrary.dll MyClient.cs; 4.2 委托与事件;委托;委托示例;委托的合并;委托的转换与相等;事件;事件与委托的关系;使用事件的例子; 4.3 操作符重载;操作符重载的概念;操作符的声明; 4.4 异常处理;异常处理;异常的概念;几种常用的异常类;捕获和处理异常;创建用户自定义异常类;算术溢出与checked; 4.5 Attribute;Attribute;使用系统定义的Attribute;自定义Attribute;Attributes are classes Attached to types and members Attributes can be queried at runtime; 4.6 C#语言中的其他成分;编译预处理;unsafe及指针;C# And Pointers;

文档评论(0)

1亿VIP精品文档

相关文档