Pattern-based C#: if it quacks like a duck…
Speakers:
Recording
Link to Recording: https://youtube.com/live/JUNs0wF3kH0
C# is a strongly typed programming language, used to communicate expectations in a statically verifiable fashion across the .NET ecosystem. There is a set of language features that can be enabled by satisfying a particular shape rather than inheritance or interface implementation.
In this session we look at compiler-recognized patterns such as:
- using custom types in
foreach - applying
awaitto custom types - tuple-like deconstruction
- implicit
IndexandRangesupport - collection initializers and expressions for user-defined types
Join this live coding session for a deep dive into pattern-based features in C# and how to make reusable types more convenient and idiomatic to consume.