Learn how to use the Lazy class in C# for lazy loading and initialization of resources. I also demonstrate a common use case where Lazy would be beneficial. I feel like no one talks about the Lazy class, but it's definitely useful to integrate as necessary.
TIMESTAMPS:
0:00 - Introduction
0:29 - Simple Demo Introduction
1:19 - Basic Lazy Functionality
2:56 - Lazy w/ Async Functions
5:08 - Advanced Demo Introduction
6:52 - Integrating Lazy
8:10 - Refreshing Lazy Initialized Data
9:34 - AsyncLazy Type
10:10 - Conclusion
FULL PLAYLIST: • .NET Advanced Essentials
OTHER LINKS:
Become a Member: / @singletonsean
Donations: www.paypal.com/biz/fund?id=UB...
23 июл 2024