static void Main5() { MyLazy <Big> myLazy = new MyLazy <Big>(() => BigFactory.Build()); Console.WriteLine(myLazy.Value.ID); Console.WriteLine(myLazy.Value.ID); }
static void Main3(string[] args) { Lazy <Big> lazyBig = new Lazy <Big>(() => BigFactory.Build()); Console.WriteLine(lazyBig.Value.ID); }