I have 3 classes, a student class, a studentList class, and a form. The ToString method is implemented in the student class, and a few students have been created and added in the studentList class.
In the form, I'd like my current list of students to show up in a multiline textbox at application launch. I wasn't sure how to do that, so to test my methods I just called a messageBox to display my students. Here's what my messagebox shows:
WindowsFormApplication.studentList
Any idea why my list isn't being shown correctly?
By the way, here is the ToString method from the student class:
public override string ToString()
{
return Crn + "\t" + Subj + "\t" + Crse + "\t" + Sec;
}