The Throbbing Brain

Technology musings for the modern pragmatist

system.nullable vs. Tryparse Revisited

As a follow-up to my system.nullable vs. tryparse post, I’ve posted the source code for the nullable parser. I use this code in nearly all of my projects to help with parsing nullable values. It makes parsing nullable objects much easier, and mirrors the functionality of the existing TryParse methods that the framework has made us accustomed to.

Download the C# file

Comments