Snapshot testing lets you add a broad safety net to your application and are available in common languages like JavaScript and dotnet.
CSharp
-
-
Newer .NET developers are sometimes confused when they encounter readonly members in classes and the newer init-only setters. In this article we’ll explore both keywords along with the related get-only auto property. Finally, we’ll help you understand when to use each of these powerful language features.
-
Let’s take a look at some of the more common mistakes I see in C# code, explore why they’re mistakes, and introduce better ways of doing things.
-
This article first appeared at KillAllDefects on January 21st, 2020. Let’s talk about how LINQ’s GroupBy method makes grouping data in C# easy. We’ll start basic and then go over every available…
-
This post first appeared at KillAllDefects on January 27th, 2020 In this article, I’ll walk through the various overloads and usages of LINQ’s SelectMany methods. SelectMany is in many ways the opposite of GroupBy which…
-
C# 9 added the “Target-typed new” keyword, which is a little bit of a mouthful, but a powerful feature for simplifying your C# code. In this article we’ll look at…
