What's new in C# 8?
C# 8.0 is available with NET Standard 2.1 and .NET Core 3.x implements the same.
The new C# 8 features are as follows:
- Readonly members
- Default interface methods
- Pattern matching enhancements (Switch expressions, Property patterns, Tuple patterns)
- Positional patterns
- Using declarations
- Static local functions
- Disposable ref structs
- Nullable reference types
- Asynchronous streams
- Asynchronous disposable
- Indices and ranges
- Null-coalescing assignment
- Unmanaged constructed types
- Stackalloc in nested expressions
- Enhancement of interpolated verbatim strings
No comments:
Post a Comment
Please do not enter any HTML. JavaScript or spam link in the comment box.