What’s New in .NET and C#

Video description

.NET is a leading framework for web, desktop, and mobile app development, with a rising usage of C# in product development. We will begin by exploring the new developments in C# 11. You will get a detailed overview of the latest features in .NET 7, including the ‘Required’ modifier, raw string literals, UTF-8 string literals, auto-default structs, file-scoped types, list patterns, and the intricacies of dealing with microseconds and nanoseconds. You will also understand the support for Tar files.

Next, we will dive into C# 10 updates. This includes an overview of .NET 6, an examination of simplified .NET development, the utility of ‘global using’ directives, insights into file-scoped namespaces, an exploration of ‘record’ type enhancements, and improvements in ‘struct’ types. We will also cover constant interpolated strings and the .NET Upgrade Assistant.

Finally, we will delve into the updates within .NET 6. This includes a discussion on the introduction of new DateOnly and TimeOnly structs, the importance of SDK version checking, the concept of SDK workloads, the addition of Arm64 support, and the critical focus on security enhancements within the framework.

By the end of this course, you will possess a thorough grasp of these concepts, empowering you to proficiently utilize these advancements in your software projects.

What You Will Learn

  • Implement new C# 11 features: interpolated strings, pattern matching
  • Understand latest advancements in .NET 6: performance, improved APIs
  • Explore C# 10 features: property patterns, top-level programs
  • Implement cutting-edge techniques in .NET 6: web API, performance
  • Learn C# 11 features: record structs, simplified null checking
  • Cover .NET 7 overview: language, runtime improvements

Audience

This course is tailored for software developers, architects, and those interested in staying up to date with the latest advancements in C# 11, C# 10, .NET 7, and .NET 6. It is designed for professionals who already have familiarity with C# and .NET and wish to deepen their knowledge and skills.

A prerequisite for this course is a fundamental understanding of C# basics, which is essential for comprehending the new concepts presented. It is highly recommended to have access to either Visual Studio Code or Visual Studio to practice and apply the concepts learned in this course.

About The Author

Praveenkumar Bouna: Praveenkumar Bouna is a software engineer with over 15 years of C# .NET development experience. He holds a Bachelor of Engineering in computer science and engineering. He has worked for about ten years in Honeywell, wherein he transitioned from software engineer to senior software engineer, tech lead, and so on in C#. He has also worked in security and surveillance as well as access control systems in top MNCs in the software industry. He is also a Certified ScrumMaster (CSM) and Scrum Master for a security R&D team. He is known for his simpler teaching approach toward explaining various complex topics his colleagues come across in everyday programming life.

Product information

  • Title: What’s New in .NET and C#
  • Author(s): Praveenkumar Bouna
  • Release date: January 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781803234311