The null conditional operator just got an upgrade.. we can do assignments with it now! Let’s see it in action.
Extension members take extension methods to the next level. Let’s see how to use this new C# 14 feature.
Should you use DateTime or DateTimeOffset? Well, it depends…
C# 11 added raw string literals, not a life-altering new feature, but they could be useful in the right circumstances. Let’s see how to use them.
As part of C# 12, we got a new feature called primary constructors. Let’s see how they work and what we can do with them.
The record modifier can define properties and equality in our classes for us, saving time and keeping our code cleaner. Let’s see how it works!
The .NET team has made some helpful additions to LINQ in recent years. Today let’s check out the various set-based updates from C# 10 / .NET 6.
The .NET team has made some helpful additions to LINQ over the last few years. Today let’s check out MinBy and MaxBy from C# 10 / .NET 6.
It’s great to see Microsoft still giving us new things in LINQ. With C# 13 / .NET 9, we get CountBy and AggregateBy, so let’s see how to use them.
A look at if/else, switch/case, pattern matching, other options … and which is best. (spoiler: none ;) )
C# has been getting a lot of pattern matching love in recent years, like with list patterns in C# 11. The problem is knowing where and how to use it.
Generic attributes increase the flexibility of a very early .NET feature. Let’s try using them and see how it keeps our code DRY.
When sending notifications in a WinForms app, a MessageBox is the only way to go… or is it? Let’s get creative and see what else we might do.
We can deconstruct tuples in C#, but does it work with other types? And assuming it does (spoiler - it does), is it worth bothering with?
What is Generic Math support in C# 11, and how do we take advantage of it? Let’s dig in and find out! (part 3 of 3)
What’s it mean to overload operators in C#? And what’s that have to do with Generic Math in C# 11? Let’s find out! (part 2 of 3)
What are static abstract members (new in C# 11), what can we do with them, and how are they related to Generic Math? (part 1 of 3)
A big challenge with any language is trying to group and organize things sensibly, and returning multiple values is no exception. Let’s check out Tuples and deconstruction, and see how they can help us out.
Named arguments in C#.. they’ve been around a long time, but does anyone use them? Let’s check out another feature that helps tame wild code.
C# 7 introduced a new tool for the belt - local functions. Let’s take a look at what they are, how to use them, and why we might not want to.