title: Can LINQ be used to find gaps in a sorted list?
body: <p>Is it possible for me to use LINQ in a way that allows me to determine that "9"
   is the first missing value in the sorted list without using a for-loop and comparing each value to the one adjacent to it?</p>
  
  <pre><code>var listStringVals = new [] { "7", "13", "8", "12", "10", "11", "14" };
  // sort list to "7","8","10","11","12","13","14"
  var sortedList = listStringVals.OrderBy(c =&gt; int.Parse(c)).ToList();
  // need some magic here to get the first gap in the sorted list
  </code></pre>