logical pattern

The C# pattern keywords and, or and not, which combine or negate other patterns.

In more detail

They let one pattern express a range, a set of alternatives or an exclusion. "shipped" or "in transit" lets two constants share one switch arm, and is not null reads as plain English.

Related terms

Taught in

References