title: How can I use >= on the left of a C# switch expression?
body: <p>I have this Enum:</p>
  
  <pre><code>public enum SIZE
  {
      Small = 0,
      Medium = 1,
      Large = 2,
  }
  </code></pre>
  
  <p>I would like to use a C# switch expression but I am not sure how to create the "case" statements:</p>
  
  <pre><code>App.devWidth = App.width switch
  {
  
  };
  </code></pre>
  
  <p>What I want to be able to do is to set the width as follows:</p>
  
  <pre><code>Small = App.width &lt; 700;
  Medium = App.width &gt;= 700 &amp;&amp; App.width &lt; 1200;
  Large = App.width &gt;= 1200;
  </code></pre>
  
  <p>Is there a way I can put these tests for app width on the left side of the "=>" in a switch?</p>