title: add elements to object array
body: <p>This must be really simple but just not getting my syntax right here. let's say we have  classes like two below:</p>
  
  <pre><code>class Student
  {
      Subject[] subjects;
  }
  
  class Subject
  {
      string Name;
      string referenceBook;
  }
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>Student univStudent = new Student();
  </code></pre>
  
  <p>Now, I want to add subjects here but not able to do something like</p>
  
  <pre><code>univStudent.subjects.add(new Subject{....});
  </code></pre>
  
  <p>How do i add items to this object array?</p>