Skip to content

Insert array of class into anthor class

tota Mcsd

Asked Apr 23, 2015, 8:14 AM EDT3 answers
Share
LinkedInX
how to insert an array of class student into class course and increase the number every time the
class student is instintiated

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    student[] coursestudents = new student[2];

            public student[] Coursestudents
            {
                get { return coursestudents; }
                set { coursestudents = value; }
            }
    0
  • Gowtham Rajamanickam
    0
    public student[] Coursestudents { get { return coursestudents; } set { coursestudents = value; } }
    0
  • 1 short reply
    • 0
      thanks a lot I did it
      0