Friday November 27th

Thursday November 26th

Wednesday November 25th

C# null coalescing operator

I have a new favorite feature in VS 2005 - the null coalescing operator: ?? This is a short cut for checking if a value is null and if so returning the value of the second operand. The syntax is as follows: string newVal = myVal ?? "default";


Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network