public static void Main()
Manager m = new Manager();
Console.WriteLine(m.GetName());
Console.WriteLine(m.GetSalary());
Console.WriteLine(m.GetDesignation());
Console.WriteLine(m.GetAddress());
public interface IEmployee
public class Manager : IEmployee
public static class EmployeeExtensions
public static string GetDesignation(this Manager m)
public static string GetAddress(this IEmployee e)