title: Is this possible somehow in C# : if (a==b==c==d) {...}
body: <p>Is there a quick way to compare equality of more than one values in C#?</p>
  
  <pre><code>something like:
  
  if (5==6==2==2){
  
  //do something
  
  }
  </code></pre>
  
  <p>Thanks</p>