Which among the following is a characteristic of Lazy Stored Procedures?
A
Have values that are not calculated until first accessed
B
lazy property is declared with lazy
C
Lazy stored properties must be declared with var
D
All of the above
Answer: D
Reason: Lazy stored properties have values that are not calculated until first accessed.So, prefix it with the lazy keyword so it will be "excluded" from the initialization process and it's default value will be assigned on-demand. It must always be a variable. Lazy stored procedures helps in optimizing the memory and CPU usage and increases readability of the code. It can only be used on structs and classes. The limitation of using this lazy stored procedures is that it is not thread safe as “lazy"modifiercan be accessed simultaneously by multiple threads.