Checking for nulls in C# is tedious, but C# 6 gave us the null-conditional and null-coalescing operators. Let's see how they've improved things.
The longer I write software, the more I come to appreciate clear code. String interpolation in C# is just one more way to help us do that.
There's a lot of ways to make our code work for us. Let's check out using the nameof operator to avoid magic strings.
I was upgrading some code to use string interpolation, a feature introduced in C# 6, when I ran into a small snag with DateTimes and a format string stored as a constant.