Σημείωμα
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να εισέλθετε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.
ECMA C# draft specification