C# and iOS Programming
Tips, tricks, snipplets, code examples
Thursday, February 18, 2010
?? operator
string foo = null;
return foo ?? "bar"; // returns bar
string foo = "dummy";
return foo ?? "bar"; // returns dummy
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment