Archive

Archive for January, 2011

Filtering exceptions inside an iterator method

January 24, 2011 Leave a comment

This was an interesting Stack Overflow question from last week. At first glance it seems to be impossible, but if you think about what yield return actually does, an answer presents itself.