static void Main(string[] args) { Proxy proxy = new Proxy(); proxy.request(); Console.ReadKey(); }
static void Main(string[] args) { var mProxy = new Proxy(new realSubject()); mProxy.request(); Console.ReadKey(); }
static void Main(string[] args) { Proxy proxy = new Proxy(); proxy.request(); Console.ReadKey(); }