C#的功能包括: (Features of C# include:)
- Automatic Garbage Collection 自动垃圾收集
- Exception Handling 异常处理
- Type-safety 类型安全
- Versioning 版本控制
- Delegates 代表们
- Properties 物产
- LINQ (Language-Integrated Query) and Lambda Expressions LINQ(语言集成查询)和Lambda表达式
- Generics 泛型
- Indexers 索引器
- Multithreading 多线程
C#7.0中添加的新功能: (New Features Added in C# 7.0:)
- Deconstructors 解构函数
- New syntax to work with Tuples 与元组一起使用的新语法
- Pattern Matching with Is Expressions 与Is表达式进行模式匹配
- Local Functions 局部功能
- Return by Reference 参考归还
- Out Variables 输出变量
- Literal improvements 字面改进
- Generalized Async Return Types 广义异步返回类型
- More Expression-Bodied Members 更多表情包成员
- Throw Expressions 投掷表达式
- Record Type 记录类型
- Minimizing OUT 最小化输出
- Non-‘NULL’ able reference type 不能为“ NULL”的引用类型