1 2 3 4 5 6 7 8 9 10 11
using System; class Test { static int Main() { Lazy<int> l = new Lazy<int>(() => 100); Console.WriteLine(l.Value); return l.Value; } }