The null-coalescing operator in C# allows you to check if a variable has a null value and on-the-fly provide a default value in its place.
Read more ›
The null-coalescing operator in C# allows you to check if a variable has a null value and on-the-fly provide a default value in its place.
Read more ›
The .NET DateTime class has a handy CompareTo function that allows you to compare two DateTime objects. However, it’s not always easy to remember how the result relates to the relationship between the two DateTimes being compared.
Read more ›
Using Statements are a great way to avoid memory leaks in C#. This article explains what is happening functionally behind the scenes.
Read more ›