What’s New in C# 10: Value Type Records
This is part of a series on the new features introduced with C# 10.In a previous post I wrote about records in C# 9.Prior to C# 10 record types were reference types. In C# 10 you can now declare...
View ArticleWhat’s New in C# 10: Simplify Nested Property Pattern Code
This is part of a series on the new features introduced with C# 10.Pattern matching in C# was first introduced in C# 7 and has been added to in later versions.C# 8 added property pattern matching to...
View ArticleNew Pluralsight Course: Error Handling in C# 10
My newest Pluralsight course Error Handling in C# 10 was just released.This is an updated course of my previous error handling courses to bring the demo code up to C# 10, .NET 6, Visual Studio...
View ArticleWhat’s New in C# 10: Create Constants Using String Interpolation
This is part of a series on the new features introduced with C# 10.Prior to C# 10 if you wanted to create a const that was made up from other constants you had to add the string fragments togeter, for...
View ArticleWorking with Files in C# 10 Course
My latest Pluralsight training course was just published and is an update from the previous version to now use .NET 6 and C# 10.“Reading and writing data is central to many .NET applications, but it...
View ArticleSupport Multiple Versions of .NET From A Single Class Library (.NET...
.NET implementations come in a few different versions or “flavors” including .NE Framework, .NET Core, and the evolution of .NET Core into .NET 5+. There’s also .NET Standard which is not an...
View ArticleWork with SQL Data with Fewer Lines of Code Using Dynamic C#
If you need to query a SQL database and work with the data quickly you can use dynamic C# to write less boilerplate code.For example, if you wanted to query a Customer table (or a more complex joined...
View Article