Multiple Conditions

Combine conditions with && (and), || (or) and ! (not), and group them with parentheses so they mean what you intend.

Updated

Cheat sheet: Multiple Conditions
Category
C#
Level
Apprentice
Tags
c-sharp, Logical Operators (c-sharp), Short-Circuit Evaluation (c-sharp)