よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
static void Main(string[] args) { Employee e1 = new Employee("Smith", 20000); Console.WriteLine(e1.displayInfo()); Manager m1 = new Manager("Brown", 40000, "Sales"); Console.WriteLine(m1.displayInfo()); Console.ReadKey(); }