C# null-coalescing operator ??

added by jalpesh
1/28/2013 4:42:11 AM

7 Kicks, 455 Views

C# language provides many features and null-coalescing operator(??) is one of them. It’s a great operator to check whether object is null and if it is null then it will provide a default value. I have seen most of the people are not using while it’s a great feature. So I decided to write a blog about this. You can find more information about null-coalescing operator from the below link. http://msdn.microsoft.com/en-us/library/ms173224.aspx


0 comments