Thursday, October 14, 2010

??

The ?? operator returns the left-hand operand if it is not null, or else it returns the right operand.

return name ?? string.Empty;

It looks like its been around since 2005.

http://msdn.microsoft.com/en-us/library/ms173224%28v=VS.80%29.aspx