What are the benefits and drawbacks of the ?: operator as opposed to the standard if-else statement. The obvious ones being:
Conditional ?: Operator
Sometimes it can make the assignment of a bool value easier to read at first glance:
// With button.IsEnabled = someControl.HasError ? false : true; // Without button.IsEnabled = !someControl.HasError;