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:
http://stackoverflow.com/questions/446835/what-do-two-question-marks-together-mean-in-c
Wednesday, November 10, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment