C# version 10

See what's new in C#10

Table of contents

Record structs

Improvements of structure types

global using directives

File-scoped namespace declaration

Extended property patterns

Allow const interpolated strings

Record types can seal ToString()

Allow both assignment and declaration in the same deconstruction

Allow AsyncMethodBuilder attribute on methods


See also