C# 10 also supports record structs, similar to C# 9 (class-based) records, but with differences such as record structs being added for completeness so structs can have the same record benefits as classes. Also featured for C# 10 are global using directives and file-scoped namespaces, which help developers simplify code and write less boilerplate. NET 6 capabilities including C# 10, which offers a further evolution of new features such as records and patterns. The new release candidate can be downloaded from. RC2 has been tested on, and is supported on, Visual Studio 2022 Preview 5.
Microsoft has published a second release candidate for its upcoming.