static void Main(string[] args) { IImage image = new ProxyImage("test_154gb.jpg"); image.Display(); Console.WriteLine(""); image.Display(); }
static void Main(string[] args) { IImage image = new ProxyImage("testImage.jpg"); // This will load from disk image.Display(); // This will load from cache. image.Display(); Console.ReadKey(); }