It's OK To Be Lazy And Defer Creating Objects Until You Need Them

7/8/2016 4:22:36 PM

1 Kicks, 689 Views

Practical .NET You can write some complicated code to ensure that you don't create any object until you absolutely need it. Or you can use the Lazy least some of the time. Sometimes your application needs an object or a collection of objects. And sometimes it doesn't.