public void Adapter_With_Design()
 {
     ITarget Itarget = new EmployeeAdapter();
     ThirdPartyBillingSystem client = new ThirdPartyBillingSystem(Itarget);
     client.ShowEmployeeList();
 }
Example #2
0
        static void Main(string[] args)
        {
            ITarget Itarget = new EmployeeAdapter();
            ThirdPartyBillingSystem client = new ThirdPartyBillingSystem(Itarget);
            client.ShowEmployeeList();

            Console.ReadKey();
        }