3d2165a7_Code_Camp_II__The_Return__Title
[Level] 300 [Description] If you've ever created a custom Iterator in C# 1.0, you already know: it's a complete pain. Each custom Iterator largely requires that you define a separate class (usually nested), implement several interfaces and provide factories for instantiating it. But in C# 2.0, a simple trick of creating a new method to enumerate values, have it return an interface handle and use a new keyword and - voila! - a custom Iterator class is created for you. In this session, we'll explore how C# 2.0 iterators work, and how you can use it to replace custom iterations in C# 1.0. [Speaker] Richard Hale Shaw [Type] Presentation [Title] 
Creating Custom Iterators: C# 1.0 vs. C# 2.0
Code Camp II: The Return
Title