title: How to determine the earliest/latest DateTime in a collection?
body: <p><strong>Question 1:</strong> In a collection of DateTime objects, how to determine which one is the earliest/latest?</p>
  
  <p><strong>Question 2:</strong> In a collection of objects, how to determine which object has the earliest/latest DateTime property?</p>
  
  <p>For example: </p>
  
  <pre><code>class VideoGame
  {
      DateTime ReleaseDate { get; set; }
  }
  </code></pre>
  
  <p>Which <code>VideoGame</code> will be released first/last?</p>
  
  <pre><code>var allGames = new List&lt;VideoGame&gt;();
  allGames.Add( new VideoGame() { ReleaseDate = new DateTime(2010, 10, 4)} );
  allGames.Add( new VideoGame() { ReleaseDate = new DateTime(2012, 7, 14)} );
  allGames.Add( new VideoGame() { ReleaseDate = new DateTime(2014, 5, 26)} );
  </code></pre>