public static void Main()
Employee emp = new Employee();
emp.CompanyName = "Apple";
Console.WriteLine(emp.GetFullName());
Console.WriteLine(emp.EmployeeId);
Console.WriteLine(emp.CompanyName);
public string FirstName { get; set; }
public string LastName { get; set; }
public string GetFullName(){
return FirstName + " " + LastName;
public int EmployeeId { get; set; }
public string CompanyName { get; set; }