Ejemplo n.º 1
0
 // Simply replace "&&" between different property conditions by ",".
 // Use "or" between patterns that both contain the same property.
 // Use "and" and "or" for checking of a single property against several values.
 public int PropertyPattern(ZonalClient client) => client switch
 {
     { Purchases : >= 500 } => 50,