Community Use Yield Instead of a List in C# for Iterations on Collections by SSWUG Research (Srinath M S) You can use the yield keyword to hold and return the data to the caller. Register to Read