Is there any way to optionally return a null with a \"return yield\" driven iterator?
I would like to return a null in some cases and I don\'t think this is particul
There is nothing that prevents you from doing a yield return null;, if it is appropriate (of course, the enumerated type must be nullable).
yield return null;