У нас вы можете посмотреть бесплатно Mastering C# Yield, Async Yield, & Enumerators - Improve Application Performance! или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Are you creating lists or arrays to return from methods in C#? Use yield return instead to make your code much more efficient. In this video, Chuck explains the pro's and cons of the different ways to return collections and how the yield, async yield, and await foreach keywords really works! Developers will understand how application performance is affected by the different ways to use Enumerators, iterators, and yield in their code. This video features C# 12 and .Net (Core) 8 and demonstrates yield return, yield break, IEnumerable, IAsyncEnumerable and implementing enumerable objects. He discusses the basic iterator pattern as well as impact on frameworks like ASP.Net. Check out our website at https://www.McCulloughAssociates.com 00:00 Introduction 00:25 IEnumerable 01:56 Yield Return 02:54 Understanding yield return 04:45 Enumerator State 05:38 Yielding from a file 06:43 Advantages of yield 07:53 Yield Break 08:15 Limitations 08:43 Async Yield 09:38 IEnumerable Class 10:17 Conclusions