Showing posts with label null-coalescing-operator. Show all posts
Showing posts with label null-coalescing-operator. Show all posts

Monday, June 11, 2012

What is the proper way to check for null values?


I love the null-coalescing operator because it makes it easy to assign a default value for nullable types.