http://www.codeproject.com/Tips/612801/Lazy-Object-Initialization-with-S... Object Initialization with System.Lazy class - CodeProject
Lazy Object Initialization with System.Lazy class - CodeProject
I will explain how can use System.Lazy class with support of lazy initialization of object; Author: S. M. Ahasan Habib; Updated: 30 Jun 2013; Section: C#; Chapter: Languages; Updated: 30 Jun 2013

fb_anonymous_user's picture

It is more useful when you use it with MEF for importing multiple objects. That will allow you to import several parts but instantiate the required object when you really need it. Keep it up Ahasan Habib vai..

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.