static void Main(string[] args) { Employee emp = new Employee(); emp.SetEmployeeId(0); Console.WriteLine(emp.GetEmployeeId()); }