title: Fast integer ABS function
body: <pre><code>int X = a-b;
  int d = Math.Abs(X);
  </code></pre>
  
  <p>I am pretty sure that .NET doesn't do inlining.  So, will I do if(), or is there some other less-known trick?</p>