public static void add(employee em) { string name; Console.WriteLine("Enter Name"); name = Console.ReadLine(); Console.WriteLine("Enter Sex"); string sex = Console.ReadLine(); Console.WriteLine("employee saved"); Console.ReadKey(); } public static void show(employee em) { Console.WriteLine("Name:{0}",???); Console.WriteLine("Sex:{0}", ???); Console.ReadKey(); }
employee
List
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)