Close

c# – The if-else statements (using the “?:” shorthand syntax)

http://msdn.microsoft.com/en-us/library/ty67wk28.aspx

This is a single line if-else statement that also has a builtin "return" statement.