public static fullTimeEmp inputFT() { fullTimeEmp fEmp; String name; int age; double soNgayLam; Console.WriteLine("Nhap ho ten:"); name = Console.ReadLine(); Console.WriteLine("Nhap tuoi: "); age = Int32.Parse(Console.ReadLine()); Console.WriteLine("Nhap so ngay lam: "); soNgayLam = double.Parse(Console.ReadLine()); return(fEmp = new fullTimeEmp(name, age, soNgayLam)); }
public void addFullTime(fullTimeEmp ft) { ftEmp.Add(ft); }