title: Find distance between 2 coordinates in .NET core
body: <p>I need to find the distance between 2 coordinates in .NET core. I've tried using the below mentioned code,</p>
  
  <p>var sCoord = new GeoCoordinate(sLatitude, sLongitude);
  var eCoord = new GeoCoordinate(eLatitude, eLongitude);</p>
  
  <p>return sCoord.GetDistanceTo(eCoord);</p>
  
  <p>But, it seems like the GeoCoordinate class is not supported in .NET core. Is there any other precise way to calculate the distance between 2 coordinates using the latitude and longitude in .NET core?</p>