tag:blogger.com,1999:blog-1193360839340392472.post4828431682875789862..comments2009-10-16T11:34:37.477+02:00Comments on C# in Depth Study Group Würzburg: Follow up for meeting regarding Iterators/RangesRalfhttp://www.blogger.com/profile/12069459854043020942noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1193360839340392472.post-67459695133404780742009-10-16T11:34:37.477+02:002009-10-16T11:34:37.477+02:00Thanks for this analysis. Will examine it closer w...Thanks for this analysis. Will examine it closer when I'm going through that chapter. There is *some* method in my madness though: using Contains fails when the values wrap around. For example, consider a byte range 0-255 inclusive. A simple GetNextValue which wraps from 255 to 0 will keep going forever.<br /><br />See http://csharpindepth.com/ViewNote.aspx?NoteID=48 for a bit more information.<br /><br />Given the trickiness of all of this, I may well overhaul the example completely...Jon Skeethttps://www.blogger.com/profile/09730219126872960482noreply@blogger.com