using System;using System.Collections.Generic;using System.Text;namespace Company{ public class Employee { private string _empName; private int _empId; public Employee() { this._empName = "Employee Name Not Available"; this._empId = 000000; } public Employee(string Name, int Id) { this._empName = Name; this._empId = Id; } protected string NameOfEmployee { get { return _empName; } set { _empName = value; } } protected int IdOfEmployee { get { return _empId; } set { _empId = value; } } public void DispalyDetails() { Console.WriteLine("Employee Name :{0}", this.NameOfEmployee); Console.WriteLine("Employee Id :{0}", this.IdOfEmployee); } }}using System;using System.Collections.Generic;using System.Text;namespace Company{ class Program { static void Main() { Employee Emp = new Employee("Ashis Patra", 78990); Emp.DispalyDetails(); Console.ReadLine(); } }}