title: Is there any significant difference between using if/else and switch-case in C#?
body: <p>What is the benefit/downside to using a <code>switch</code> statement vs. an <code>if/else</code> in C#.  I can't imagine there being that big of a difference, other than maybe the look of your code.</p>
  <p>Is there any reason why the resulting IL or associated runtime performance would be radically different?</p>
  <h3>Related: <a href="https://stackoverflow.com/questions/94305/what-is-quicker-switch-on-string-or-elseif-on-type">What is quicker, switch on string or elseif on type?</a></h3>