title: Determine If Two Points Are Near
body: <p>I have the following:</p>
  
  <pre><code>bool AreNear(Point Old, Point Current)
  {
      int x1 = Convert.ToInt32(Old.X);
      int x2 = Convert.ToInt32(Current.X);
      int y1 = Convert.ToInt32(Old.Y);
      int y2 = Convert.ToInt32(Current.Y);
      if (x1 == x2) {
          if (y1 == y2) {
              return true;
          }
      }
      return false;
  }
  </code></pre>
  
  <p>I want to return true in the function if the current point is in 25 pixels radius of the old point. Can anyone tell me how to do that?</p>