hey all,
i got problem about count method. for example, there are three students(a,b,c), and there are two courses(coure1,course2), then student a and b enrol course1, and student c enrol course 2. i need to count how many students enrolled course1.
Public Function numStudents() As Integer
'return number of students enrolled in this course
Return myEnrols.Count
End Function
so how to write this function.thank you very much.