Click here to Skip to main content
15,892,927 members
Articles / All Topics

Null coalesce vs If null check

Rate me:
Please Sign up or sign in to vote.
1.50/5 (2 votes)
29 Sep 2011LGPL32 min read 11.8K  
Dear Reader, In this article, i shall talk about internals of null checking on a type (ref type mostly) by using null coalesce operator or via if condition.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer (Senior) Siemens
India India
A .net developer since 4+ years, wild, curious and adventurous nerd.

Loves Trekking/Hiking, animals and nature.

A FOSS/Linux maniac by default Wink | ;)

An MVP aspirant and loves blogging -> https://adventurouszen.wordpress.com/

Comments and Discussions