Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

What's Next in C# 11 - New Features and Enhancements

Microsoft via YouTube

Overview

Explore the upcoming features of C# 11 in this 29-minute conference talk from Microsoft Build 2022. Join Mads Torgersen, Principal Program Manager at Microsoft, as he guides you through new additions like static virtual members, list patterns, and raw string literals. Dive into demonstrations of these features, learn about the IParseable interface, and understand improvements to auto properties and field access. Discover the benefits of pattern matching, list patterns, and raw string literals with practical examples. Gain insights on when to use constructors versus object initializers, and find out where to access preview updates for further learning. Perfect for developers looking to stay ahead of the curve with C# language enhancements.

Syllabus

Introduction.
Mads Torgersen, Principal Program Manager, Microsoft.
Demo: Some features that will be added to C# 11.
The new feature, static abstract members, in interfaces.
What is unique about the IParseable interface?.
Pattern Matching and List Patterns.
What is a constructor?.
Should object initializers be used in place of constructors?.
Improvements to Auto Properties.
Field Access in Auto Properties.
Raw string literal and how is it used.
Demo using SharpLab.
Where Can I Learn more about Preview Updates?.

Taught by

Microsoft Developer

Reviews

Start your review of What's Next in C# 11 - New Features and Enhancements

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.