static void Main(string[] args) { Employee e1 = new Employee("Jhon", "Doe", 2000); Console.WriteLine("The name in object e1 is:" + e1.name); Console.WriteLine("The salary in object e1 is:" + e1.salary); //increaseSalary(e1); e1.increaseSalary(); Console.WriteLine("The salary (after increase) in object e1 is:" + e1.salary); Console.ReadLine(); }