craigtb
04-04-2007, 11:54 PM
I was wondering how i would get an array in a different class... for example
assume projects is an array
ListOfStudents[counter] = new Undergrad(projects);
public UnderGrad(projects)
{
}
how would i get that in the Undergrad part? because if it was an int i would need to put
public Undergrad(int projects)
but i dont knwo what to do for an array.
any help?
assume projects is an array
ListOfStudents[counter] = new Undergrad(projects);
public UnderGrad(projects)
{
}
how would i get that in the Undergrad part? because if it was an int i would need to put
public Undergrad(int projects)
but i dont knwo what to do for an array.
any help?