Před pár hodinami byl vydán finální release .NET Core 3.0 a C# 8.0. Přináším Vám začerstva záznam z mé přednášky pro konferenci WUG Days Brno z 15. září 2019, kde jsem ukazoval chystané novinky v C# 8.0:
- Index, Range
- Switch Expressions
- Pattern Matching
- Static Local Function
- Using Declarations
- Nullable Reference Types
- Async Streams, Async Dispose
- (Target Typed New)
- Default Interface Methods
- Null Coallescing Operator
- Readonly Struct Members
- Disposable ref Structs
- Interpolated Verbatim Strings
- Unmanaged Constructed Types
…a plány na C# 9.0:
- Primary Constructors, Records
- pattern-based with expressions
- Top level statements and member declarations
- Covariant return types
- Nullable-Enhanced Common Type
- Target typed null coalescing (??) expression
- and, or, and not patterns
- Switch expression as a statement expression
- Comparison operators in switch cases
- Native-Sized Number Types
- Extension everything
Slides a dema:
Nahrávka je publikována na našem HAVIT YouTube Channelu.