My Observations into C# 10

This post is one of my continuing C# update posts designed to keep abreast of Microsoft's improvements to managed code in the C# framework. I have been teaching C# improvements to user groups, technology fairs, and corporations since c#7 in 2018. These presentations and teaching sessions are repeated in my blog,

My Observations into C# 7 (2018)

My Observations into C# 8 (2019)

My Observations into C# 9 (2021)

My Observations into C# 10(2021)

This post is under development and should be completed later in December.

Visual C# Version 10 List of Improvements

(taken from Microsoft)

  • Record structs
  • Improvements of structure types
  • Interpolated string handler
  • Global using directives
  • File-scoped namespace declaration
  • Extended property patterns
  • Lambda expression improvements
  • Constant interpolated strings
  • Record types can seal ToString
  • Assignment and declaration in same deconstruction
  • Improved definite assignment
  • Allow AsyncMethodBuilder attribute on methods
  • CallerArgumentExpression attribute diagnostics
  • Enhanced #line pragma
  • Generic attributes

Record structs

Improvements of structure types

Interpolated string handler

Global using directives

File-scoped namespace declaration

Extended property patterns

Lambda expression improvements

Constant interpolated strings

Record types can seal ToString

Assignment and declaration in same deconstruction

Improved definite assignment

Allow AsyncMethodBuilder attribute on methods

CallerArgumentExpression attribute diagnostics

Enhanced #line pragma

Generic attributes

About Mark Reynolds 45 Articles
Master of Engineering professional experienced as engineer, architect, manager, mentor and evangelist. Accomplished Architect demonstrating proactive application of digital technologies and agile methodologies balanced between engineering, development, automation, adaptive processing, and distributed systems. Solution Evangelist with recognized command of processes, distributed systems, analytics, machine learning, and multiple digital technologies. Mentor, Professor and Lifelong Learner teaching internal educational projects, university computer science, industry conferences.