static void Main(string[] args) { PartialEmployee p = new PartialEmployee(); p.FirstName = "Md Malek"; p.LastName = "Limon"; p.Gender = "Male"; p.DisplayEmployeeDetails(); p.DisplayFullName(); }
static void Main(string[] args) { PartialEmployee emp = new PartialEmployee(); emp.FirstName = "Pranaya"; emp.LastName = "Rout"; emp.Salary = 100000; emp.Gender = "Male"; emp.DisplayFullName(); emp.DisplayEmployeeDetails(); Console.WriteLine("Press any key to exist."); Console.ReadKey(); }