Tech Point Fundamentals

Friday, August 28, 2020

C# 8 New Features

What's new in C# 8?


C# 8.0 is available with NET Standard 2.1 and .NET Core 3.x  implements the same.


Watch our videos here




The new C# 8 features are as follows:


    1. Readonly members
    2. Default interface methods
    3. Pattern matching enhancements (Switch expressions, Property patterns, Tuple patterns)
    4. Positional patterns
    5. Using declarations
    6. Static local functions
    7. Disposable ref structs
    8. Nullable reference types
    9. Asynchronous streams
    10. Asynchronous disposable
    11. Indices and ranges
    12. Null-coalescing assignment
    13. Unmanaged constructed types
    14. Stackalloc in nested expressions
    15. Enhancement of interpolated verbatim strings



No comments:

Post a Comment

Please do not enter any HTML. JavaScript or spam link in the comment box.