What is “yield return” in C# ? How to use?
You might have heard about a keyword called “yield“, It is a contextual keyword in .NET and it makes the method’s context an iterator, which means your method can serve the purpose of an iterator by using yield return. Using…