What’s happening in C# 9.0

C# 9.0 adds the accompanying highlights and improvements to the C# language:

1 Records
2Target-typed new expressions
3Init only setters
4Pattern matching enhancements
5Top-level statements
6Native sized integers
7Suppress emitting localsinit flag
8Function pointers
9Static anonymous functions
10Target-typed conditional expressions
11Extension GetEnumerator support for foreach loops
12Covariant return types
13New features for partial methods
14Lambda discard parameters
15Module initializers
16Attributes on local functions

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2022 .Net FAQs' - WordPress Theme by WPEnjoy