Recently I was working with some nullable objects that I needed to add together. This led to some incorrect results when I wrote the code to sum them up due to the use of the null coalescing operator. The good news is that I wrote the code in a particular way, on purpose, to see what
Recently a past coworker came across a problem and issued a code challenge to some of her colleagues to help figure it out. This post is my response to that challenge. Problem and Challenge In an effort to enhance the readability of a List<T>, especially when nested within anoth
The advent of C# 3.0 introduced the ability to use implicitly typed local variables via the var keyword. Usage of var has flourished since then, and while some people use it judiciously, others make liberal use of it. Ultimately, most people are bound to run into a scenario where it s