Loading
1 post about yield C# by 1 contributor.
Know yield C#? Share what you know with developers who are learning it.
In C#, the yield keyword is used to create iterators that return values one at a time without generating a full collection. It enables lazy evaluation, meaning elements are only computed when requested. This can lead to better performance and lower memory usage.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article