示例#1
0
                                                                   } 

 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();
                                                                       }
                                                                       

                                                                   }
示例#2
0
 } 
 public Registrant() 

 {
     
 registrationNumber = RegNoGenerator.GetRegNo(); 

 }