title: Center location for a list of latitude/longitudes
body: <p>I currently have an array of locations (with lat/lon) and would like to know how to find a rough center location for all the Locations within the list for C# please.</p>
  <p>The examples I have found are in different programming languages. I would post what I have worked out so far but I'm just stuck on where to even begin.</p>
  <p>Thanks</p>
  <pre><code>public (double lat, double lon) GetCenterLocation(Location[] locs)
  {
  
  }
  
  
  public class Location {
  
      public long Id {get;set;}
  
      public double Latitude {get;set;}
  
      public double Longitude {get;set;}
  
  }
  </code></pre>