C#: IEnumerable, yield return, and lazy evaluation
You should understand how IEnumerable works in order to avoid issues due to its lazy nature. It may be asked at interviews as well.
https://stackoverflow.blog/2022/06/15/c-ienumerable-yield-return-and-lazy-evaluation/
#linq #lazylinq #ienumerable #interview
Post #1864
196