Spooky Behaviors in C#
Today’s article is about a few surprising behaviors that I’ve stumbled upon lurking in the C# language and its libraries. I wouldn’t go as far as to call them bugs, but they’re the sort of things that can catch you off guard if you’re not careful.
The first of these concerns nullable integers. Integers in C# are integral numeric types, and ordinarily they would have a default…