title: Find minimum distance between 2 points in 2 arrays
body: <p>I have 2 lists containing points (x,y and z) and would like to find the closest points.</p>
  
  <p>I assume I need to do something like this:</p>
  
  <pre><code>for (int i = 0; i &lt; myarray1.Count; i++)
  {
    for (int j = 0; j &lt; myarray2.Count; j++)
    {
      // Calculate the quadratic distance between 2 points (point in index i and j)
      // Then store the minimum distance I guess?   
    }
  }
  </code></pre>