title: Find minimal and maximal date in array using LINQ?
body: <p>I have an array of classes with a property <code>Date</code>, i.e.:</p>
  
  <pre><code>class Record
  {
      public DateTime Date { get; private set; }
  }
  
  void Summarize(Record[] arr)
  {
      foreach (var r in arr)
      {
          // do stuff 
      }
  }
  </code></pre>
  
  <p>I have to find the <code>earliest</code> (minimum) and the <code>latest</code> (maximum) dates in this array.</p>
  
  <p>How can I do that using LINQ?</p>