I still don't see why you need a for loop to obtain user input in GetStudent() if you are passing it a single parameter which is a reference to type Student? Please post your most recent version of GetStudent() and maybe it will make more sense.
Lerner 582 Nearly a Posting Maven
joelw 0 Light Poster
Lerner 582 Nearly a Posting Maven
joelw 0 Light Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.