
Explore the productivity-focused new features of C# 11 you can use in your day-to-day job through short, focused videos. Gain practical, ready-to-apply features compatible with .NET 7.
Explore how to set up a C# 11 project in Visual Studio 2022 or via dotnet CLI, focusing on dotnet seven and the LangVersion element.
explore how C# 11 enhances strings by introducing raw string literals, enabling easy inclusion of backslashes and quotes without escaping, and compare with traditional and verbatim strings.
Master raw string literals in c# to create multi-line strings and include interior double quotes by adjusting the number of surrounding quotes.
Learn how to use C# 11 raw string literals with string interpolation, including escaping curly braces and doubling dollar signs to inject variables into json‑like strings.
Explore how C# 11 enables multi-line code inside a simple string interpolation, using new lines at each plus sign and removing the need for a local variable.
Explore compile-time UTF eight strings in C# 11, using the U8 suffix to produce a read only span of byte for hardcoded strings and avoid runtime allocations.
Discover the C# 11 list pattern for pattern matching arrays, extract first and rest, name middle and last, enforce length conditions, and use or conditions to match shapes.
Explore list pattern matching in C# 11 by validating string shapes, including uppercase and lowercase initials, and see how patterns work with strings, arrays, and read only span of car.
Explore how C# 11 introduces a new required keyword for properties, enabling required initialization with init and simplified constructors, ensuring non-nullable properties.
Explore how C# 11 enhances structs by enabling auto default parameterless constructors, where uninitialized properties receive default values while you set only meaningful ones.
Explore the file access modifier in C# 11, designed for source generators to keep types confined to a single file and prevent namespace conflicts, with practical examples.
C sharp 11 optimizes where filters in linq by using static local methods instead of lambdas. This reduces allocations by caching a single function for better performance with minimal apis.
C# 11 adds quality of life improvements around attributes, and nameof captures parameter names at compile time, aiding reflection, source generators, and safe refactoring.
Discover generic attributes in C# 11 that define attributes with a generic type parameter and read them via reflection for validation or code generation, available only in C# 11.
C# 11 allows interfaces to declare static abstract properties and methods, enabling static access via generic constraints without instantiating, and demonstrates their use with interface implementation.
Explore how the INumber<T> interface in dotnet seven enables generic number algorithms with static abstract operators and a zero value to sum int and double arrays.
Leverage .NET 7's time precision features to measure elapsed time in microseconds and nanoseconds, access total nanoseconds and microseconds from a timespan, and use ticks for precise benchmarking and diagnostics.
Explore how to work with tar files in dotnet seven using the tar file API, creating and extracting tar archives and entries on Windows and Unix-like systems.
Explore dotnet seven’s system.io unix file mode APIs to get and set unix permissions on files, directories, and file streams directly from .net code.
Explore a new string syntax attribute in Dotnet seven that annotates string parameters to indicate required content, enabling regex, json, or xml guidance with syntax coloration in Visual Studio.
This "What's New in C# 11" course is designed to provide developers with a comprehensive understanding of the latest features and enhancements introduced in the C# programming language and the .NET framework. As technology evolves rapidly, staying up-to-date with the latest tools and functionalities is essential for any C# and .NET developer.
In this advanced-level course, participants will explore the cutting-edge features introduced in C# 11 and .NET 7, gaining practical insights into how to leverage these improvements effectively in real-world projects. The curriculum covers a range of topics, from new language syntax and powerful constructs to enhanced performance and productivity tools.
C# 11 Language Enhancements:
Explore pattern matching improvements and method groups
Discover the new capabilities added to manage strings
Learn about the new way of declaring attributes
Enhance your existing interfaces by adding static stuff to them
Understand the usage of the new "file" scope
Get your structs to the next level
.NET 7 new APIs:
Be more precise when dealing with time
Create generics methods to handle numbers
Enhance your colleagues' experience by decorating stings
Discover the new APIs for Unix-based systems
By the end of this course, participants will be equipped with the skills and knowledge to take full advantage of the latest features in C# 11 and .NET 7, allowing them to build more robust, performant, and cutting-edge applications. Whether you are a seasoned C# developer or a .NET enthusiast looking to expand your skill set, this course will empower you to embrace the latest advancements in the C# language and the .NET ecosystem. Join us on this journey of exploration and innovation in the world of C# 11 and .NET 7 development.
This course is not design for C# beginners. We will assume that you already work with C# and have at least 6 months of experience with C# and .NET Framework.