C Sharp Programming/Keywords/when

The contextual keyword is used to provide filtering capabilities in a  statement or a case label of a switch statement. The keyword immediately precedes a condition, e.g., (lifeValue < 1).

/Keywords