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:
record classas an alias forrecord- record structs
- Record types can seal
ToString - Enhanced
#linedirectives CallerArgumentExpressionattribute for diagnostics- Interpolated string handler
- Constant interpolated strings
- File Scoped Namespaces
- Allow
AsyncMethodBuilderattribute on methods - Assignment and declaration in the same deconstruction
- Improved definite assignment
- Lambda expression improvements
- Extended property patterns
- Global using directives
- Improvements to structure types
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