Example #1
0
 public void Hien()
 {
     Console.Write(" THONG TIN CAC HO SU DUNG DIEN ");
     for (int i = 0; i < soho; ++i)
     {
         ds[i] = new TienDien();
         ds[i].Hien();
     }
 }
Example #2
0
 public void Nhap()
 {
     Console.Write("Nhap So Ho Su Dung Dien :");
     soho = int.Parse(Console.ReadLine());
     ds   = new TienDien[soho];
     for (int i = 0; i < soho; ++i)
     {
         ds[i] = new TienDien();
         ds[i].Nhap();
     }
 }