Skip to main content

Posts

Showing posts from December, 2019

C# 8.0 new Features

What's new in C# 8.0 09/20/2019 15 minutes to read           +12 C# 8.0 adds the following features and enhancements to the C# language: 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 Indices and ranges Null-coalescing assignment Unmanaged constructed types Stackalloc in nested expressions Enhancement of interpolated verbatim strings C# 8.0 is supported on  .NET Core 3.x  and  .NET Standard 2.1 . For more information, see  C# language versioning . The remainder of this article briefly describes these features. Where in-depth articles are available, links to those tutorials and overviews are provided. You can explore these features in your environment using the  dotnet try  global tool...