title: C# Minimum difference in a list
body: <p>I want to find minimum difference in a list of xy point data. (can contain duplicate x values and y values)</p>
  
  <pre><code>Example:
  List&lt;Point&gt; differenceList = new List&lt;Point&gt;() { (10,0), (10,20), (20,30), (12,61) };
  </code></pre>
  
  <p>Expected result</p>
  
  <pre><code>X difference = 2 
  Y difference = 20 
  </code></pre>
  
  <p>is it possible to do this elegantly may be using linq/lambda expressions?
  Thanks!</p>