示例#1
0
 public void InsRandDate(int count) // int count 갯수만큼 정보가 나옴.
 {
     for (int i = 0; i < count; i++)
     {
         listCar.Add(new Car(rand.getModel(),
                             rand.getColor(),
                             rand.getCompany(),
                             rand.getPrice()));
     }
 }
示例#2
0
 public void insRandData(int count)
 {
     for (int i = 0; i < count; i++)
     {
         listCar.Add(new Car(
                         rand.getModel(),
                         rand.getColor(),
                         rand.getCompany(),
                         rand.getPrice()));
     }
 }