Skip to content

NikiforovAll/whats-new-in-dotnet6-vnext

Repository files navigation

What's new in .NET 6 and C# 10 Open in Visual Studio Code

All you need to do is to open repository in VSCode and run 'Remote-Containers: Open Folder in Container...'.

Run examples:

dotnet example <name>

$ dotnet example

# ┌────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────┐
# │ Example                            │ Description                                                                                             │
# ├────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────┤
# │ GlobalUsings                       │ GlobalUsings and ImplicitUsings (MSBuild) (C# 10; .NET 6)                                               │
# │ FileScopedNamespaces               │ FileScopedNamespaces (C# 10)                                                                            │
# │ RecordStructs                      │ RecordStructs (C# 10)                                                                                   │
# │ MinimalAPI                         │ MinimalAPI and Hot Reload. Lambda improvements. Constant interpolated strings. (C# 10; .NET 6; Tooling) │
# │ PartialMethods                     │ Partial Methods. Microsoft.Extensions.Logging.LoggerMessage. Source generators. (C# 10; .NET 6, SDK)    │
# │ CallerArgumentExpression           │ CallerArgumentExpression. ArgumentNullException (.NET 6, Roslyn)                                        │
# │ ParallelForEachAsync               │ ParallelForEachAsync. Task.WaitAsync. Random.Shared (.NET 6)                                            │
# │ PeriodicTimer                      │ PeriodicTimer (.NET 6)                                                                                  │
# │ PriorityQueue                      │ PriorityQueue (.NET 6)                                                                                  │
# │ LINQ.Chunking                      │ LINQ improvements - Chunk (.NET 6)                                                                      │
# │ LINQ.ElementAt                     │ LINQ improvements - ElementAt (.NET 6)                                                                  │
# │ LINQ.Take                          │ LINQ improvements - Take (.NET 6)                                                                       │
# │ LINQ.DefaultParamsForCommonMethods │ LINQ improvements - default parameters for common methods. (.NET 6)                                     │
# │ LINQ.TryGetNonEnumeratedCount      │ LINQ improvements - TryGetNonEnumeratedCount (.NET 6)                                                   │
# │ LINQ.SomethingBy                   │ LINQ improvements - MaxBy and MinBy (.NET 6)                                                            │
# │ DateOnly                           │ DateOnly and TimeOnly (.NET 6)                                                                          │
# │ SystemTextJson.Notification        │ System.Text.Json improvements - notification callbacks (.NET 6)                                         │
# │ SystemTextJson.PropertyOrdering    │ System.Text.Json improvements - property ordeing attributes (.NET 6)                                    │
# │ SystemTextJson.StreamSupport       │ System.Text.Json improvements - IAsyncEnumerable support. Working with Streams (.NET 6)                 │
# │ SystemTextJson.DOM                 │ System.Text.Json improvements - Document object model (DOM) (.NET 6)                                    │
# └────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Reference

Releases

No releases published

Packages

No packages published

Languages