Wednesday, November 10, 2010

C# ?? two question marks

You ever wonder what ?? means in C# language?

Its a cool shortcut for checking for nulls and returning a value...

I find it very useful when working with Linq queries... that may return some nullable fields..

Great article:

No comments:

Post a Comment