Lazy Initializer to defer expensive Object creation

added by abhi2434
6/26/2010 5:21:43 PM

0 Kicks, 53 Views

.NET 2010 comes with lots of new features. Some relates to Technology while other relates to language enhancements. The huge class library that is there with .NET framework is also enriched with new classes. In .NET 4.0 there is a new set of classes which introduces a new concept called Lazy initializes. In this article I am going to discuss how simply you can use Lazy initialize to defer the execution of a method or property for values to whenever it is required.


0 comments