C# 7.1, and 7.2: The releases you didn't know you had
summary
C# 7.1 surfaces concrete features you can enable per project: async Main for awaiting in console entry points, default literal to drop verbose default(T), and inferred tuple element names so tuple code keeps meaningful member names. C# 7.2 focuses on performance and memory: in parameters / read-only struct to avoid copies, Span/ref struct and stackalloc for zero-copy buffers, plus non‑trailing named args, leading numeric underscores and private protected accessibility. Language version is project-scoped via CSProj with a light‑bulb prompt to opt in.
AI-written summary · about
chapters (5)
- 0:00Start
- 4:11Configure in Visual Studio
- 6:38Standard updated on whole numbers only
- 9:00Async Main
- 9:50Reference semantics for value types
related talks
01h 00mC# 8 and Beyond
46mC# Goes to 11
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
58mWhat's new in C# 11 now with less controversy!!
01h 00mWhat's new in C#? - Exciting new features in C# 9, 10 and 11!
01h 03mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
