Nerd For Tech
Published in

Nerd For Tech

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.

Nullable Math

The first of these concerns nullable integers. Integers in C# are integral numeric types, and ordinarily they would have a default…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store