title: Spiral Algorithm in C#
body: <p>How can I fill an array like so:</p>
  
  <pre><code>1 2 3 4 5 6 7  8 
  20 21 22 23 24 9
  19 30 31 32 25 10
  18 29 28 27 26 11
  17 16 15 14 13 12
  </code></pre>
  
  <p>Spiral
  C#
  Thanks</p>