Close

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

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

Announcement

I have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!

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