22.

What is the use of C# 'yield' keyword?

Used in an iterator block to provide a value to the enumerator object or to signal the end of iteration. It takes one of the following forms:

yield return [expression];
yield break;