About Lazy loading

Asked 2 years ago, Updated 2 years ago, 57 views

Are there any samples of Lazy loading that were explained in Japanese?
I found the examples below and they are all in English.

http://www.codeproject.com/Articles/116273/A-Generic-Way-to-Delay-load-Lazy-load-Any-Number-o

http://www.codeproject.com/Articles/275932/Lazy-Loading-in-Csharp

c#

2022-09-30 19:18

1 Answers

I don't think there's an UpdatePanel anymore, so I'll paste the Lazy<T> commentary by MSDN.In short, passing Func<T> to the constructor only runs the first time you access Value.


2022-09-30 19:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.