title: How to create array of 100 new objects?
body: <p>I'm trying something like that:</p>
  
  <pre><code>class point
  {
  public int x;
  public int y;
  }
  
  point[] array = new point[100];
  array[0].x = 5;
  </code></pre>
  
  <p>and here's the error:
  <strong>Object reference not set to an instance of an object. (@ the last line)</strong></p>
  
  <p>whats wrong? :P</p>