Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This specification replaces ECMA-334:2026. Changes from the previous edition include the addition of the following features:
- Init accessors
- Top-level statements
- Native-sized integers
- Records
- Function pointers
- Pattern matching enhancements
- Static anonymous functions
- Target-typed conditional expressions
- Covariant return types
- Extension
GetEnumeratorsupport forforeachloops - Lambda discard parameters
- Attributes and
externon local functions - Module initializers
- New features for partial methods
- Target-typed
newexpressions - Unconstrained type parameter annotations
- Variance safety for static interface members
- Nullable reference types
- Nullable constructor analysis
- Nullable parameter default value analysis
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
ECMA C# draft specification