コード例 #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
ファイル: Registrant.cs プロジェクト: sycm33/Swim_Application
 } 
 public Registrant() 

 {
     
 registrationNumber = RegNoGenerator.GetRegNo(); 

 }