Exact answer needed for visitors
loading means not creating an object until the first time it is accessed.This technique is most useful when you have large
hierarchies of objects (such as a product catalog). You can lazy-load
subordinate objects as you navigate down the hierarchy, and thereby only create
objects when you need them.
The “Lazy Loading” design pattern actually equips the developer with the art of providing data only when a property is called for. In other words, it is a on-demand loading. It is an efficient technique to improve performance.
C# Corner. All contents are copyright of their authors.