What's New in C#7, C#8, C#9 and C#10

Why take this course?
🚀 Master the Latest C# Features with "What's New in C#7, C#8, C#9 and C#10"! 🌟
Course Overview: Dive into an in-depth exploration of the newest and most exciting features introduced in C# versions 7 through 10. This course is meticulously crafted to help developers like you stay ahead of the curve with the latest language updates, which are released alongside corresponding Visual Studio updates. 💻✨
Course Topics:
-
C# 7:
- 🔍 Out Variables
- ➡️ Pattern Matching (is and switch expressions)
- 📦 Tuples and Tuple Deconstruction
- 🎭 Local Functions
- 🔄 Ref Returns and Locals
- ⬅️ Expression Bodied Members
- 💣 Throw Expressions
- 🚀 Generalized Async Return Types
- 📝 Literal Improvements
-
C# 7.1:
- ✅ Turning on C# 7.1 support
- ⏱️ Async Main
- 🔄 Default Expressions
- 🔄 Ref Assemblies
- 📚 Infer Tuple Names
- ➽ Pattern-Matching with Generics
-
C# 7.2:
- 🢗 Leading Digit Separators
- 🔒 'Private Protected' Access Modifier
- ⚙️ Non-Trailing Named Arguments
- 💎 Reference Semantics on Value Types (In parameters, Ref readonly variables, Ref struct and Span)
-
C# 7.3:
- ⚡ Performance improvements (Access fixed fields without pinning, Reassign ref local variables, Use initializers on stackalloc arrays)
- 🔄 Enhancements to existing features (Tuple == and != support, Use expression variables in more locations, Attach attributes to backing field of auto-properties)
- ✨ New compiler options (deterministic, publicsign, pathmap)
-
C# 8:
- ❓ Nullable Reference Types
- 📖 Indices and Ranges
- 🛠️ Record types (from C# 7.1 to 8 as an important transition step)
-
C# 9:
- 🔍 Type patterns, parenthesized patterns, conjunctive and disjunctive patterns, negated patterns, relational patterns
- 🚀 Performance and Interop (Native sized integers (nint/nuint), function pointers, SkipLocalsInit)
- 🎨 Fit and Finish (Target-typed new, target type resolution of conditional expressions, static modifier for lambda expressions and anonymous methods, covariant return types, foreach GetEnumerator() use, discards as parameters to lambdas, attributes on local functions)
- 🧬 Code Generators (Partial method syntax, module initializers)
-
C# 10:
- 🔄 Record Structs
- ⚙️ Global Using Directives
- 📁 File-Scoped Namespace Declarations
- 🔍 Extended Property Patterns
- 🛠️ Generic Attributes
- 📈 Lambda Improvements (Attributes, Explicit return types, Natural type inference)
- ✍️ Enhanced #line directives
Prerequisites:
- A solid understanding of C# 6 and earlier.
- General experience with .NET/C# application development.
Learning Outcomes: Upon completing this course, you will:
- Have a comprehensive understanding of the latest features in C# 7/7.1/7.2/7.3/8/9.
- Know how to convert existing C# code to take advantage of these new features.
📆 Don't miss out on this opportunity to future-proof your skills and stay at the forefront of C# development! 🌟
Enroll now and join the ranks of developers who are leading the way in the evolution of C# programming. Let's embark on this journey together and unlock the full potential of the C# language! 🚀➡️🌈
Course Gallery




Loading charts...