Checking for null in C#, using the null-conditional and null-coalescing operators 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.
Using string interpolation to craft readable strings in C# 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.
Displaying an IIS hosted site in CEFSharp Thanks to CEFSharp, we can finally bring WinForms to the web! That didn't sound right. Okay, let's just look at hosting a site in IIS and showing it.
Host a simple webpage in WinForms with CEFSharp WinForms and the web. Like oil and water, they don't mix well. But with CEFSharp, they mix a LOT better. Let's check it out.
Mocking MessageBox (or any static class) in WinForms Unit testing a WinForms app is an uphill battle in the best of times, before you add in classes like MessageBox. Let's make the best of it.
Using nameof to avoid magic strings in C# 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.
A more helpful exception box for WinForms apps If you're in a legacy codebase with a centralized "message box" form, why not add some features that make it work for you? 😏