Friday, April 24, 2015

Adding object

I already set the rest of my parameters as :

// Instantiation of the first Student object

   Student[] myStudents = new Student[5];

   myStudents[0].sFirstName = "Anders";

   myStudents[0].sLastName = "Hejlsberg";

   myStudents[0].sBirthDate = new DateTime(1960, 12 , 24, 10, 35, 40); // It is a random date

Now, what about adding this student to the Biology Course object ?
          


No comments:

Post a Comment