} public Club() { clubNumber = RegNoGenerator.GetRegNo(); registrants = new Registrant[MAX_NUM_OF_REGISTRANTS]; for (int i = 0; i < numOfRegistrants; i++) { Registrants[i] = new Registrant(); } coaches = new Coach[maxCoaches]; for (int i = 0; i < numOfCoaches; i++) { coaches[i] = new Coach(); } }
} public Registrant() { registrationNumber = RegNoGenerator.GetRegNo(); }