title: Euclidean Distance in c#
body: <p>Can I calculate the Euclidean Distance in <code>int</code> type ?</p>
  
  <pre><code>    public static int ED(int x1, int x2, int y1, int y2)
      {
          int square = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2);
          return square;
      }
  </code></pre>
  
  <p>I tried this, but if I add <code>Math.Sqrt</code> function, doen't work. What can I do ?</p>