title: why -3==~2 in C#
body: <p>Unable to understand. Why output is "equal" </p>
  
  <p><strong>code:</strong>   </p>
  
  <pre><code> if (-3 == ~2)           
      Console.WriteLine("equal");
   else
      Console.WriteLine("not equal");
  </code></pre>
  
  <p><strong>output:</strong></p>
  
  <pre><code>equal
  </code></pre>