title: How to print numbers using LINQ
body: <p>I am trying to print natural numbers from 1 to 100 using LINQ and without any loops. The LINQ query I wrote doesn't even compile at all.</p>
  
  <pre><code>Console.WriteLine(from n in Enumerable.Range(1, 100).ToArray());
  </code></pre>
  
  <p>Please help me.</p>