Close

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

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

Announcement

You can find all my latest posts on medium.

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