Brief Introduction
Learn how to use new C# features in your projectsDescription
What will be covered in this course*:
switch Expression - a very nice shorthand for switch, combined with pattern matching it has capacity to supplant ternary operator, many ifs, and switch statements.
Recursive Pattern Matching is a new powerful technique that can eliminate a lot of code.
Nullable Reference Types - just an amazing improvement. C# programmers suffer years from null reference exceptions and finally there is a helping hand from developers of C# compiler.
using Declaration - simple, but nice improvement.
Ranges and Indices - definitely useful, but have some pitfalls, I will explain them in details in the corresponding module.
Asynchronous Streams and async foreach - asynchronous enumerables.
---
* This course is based on the .NET Core 3.0 Preview 3. It might be changed when the .NET Core 3 gets released.
Requirements
- Requirements
- Basic knowledge of C#