Articles in this series
Instead of using if-else or switch blocks to handle exceptions, you can do it gracefully using the 'when' keyword · From C# 6 on, you can use the when...
What can you do if you need to temporarily change the CurrentCulture in C#? · It may happen, even just for testing some functionalities, that you want to...
We all need to parse strings as integers. Most of the time, we use int.TryParse(string, out int). But there's a more advanced overload that we can use ·...
It would be great if we could break the debugging flow if a condition is (not) met. Can we? Of course! · Sometimes, while debugging, you want to check if...
In C#, ExpandoObjects are dynamically-populated objects without a predefined shape. dynamic myObj = new ExpandoObject(); myObj.Name...
You may have to reference classes or services that come from different namespaces or packages, but that have the same name. It may become tricky to...