Whirlwind 2: What's new in C# 2 - Iterators

Sign in to queue


Bruce Kyle of Microsoft and Stuart Celarier of CheckFree explore the new languages features in C#. It's a whirlwind tour of the important language features since C# 1. Stuart describes the feature and why it is useful. But doesn't get into best practices nor suggested usages. Just the facts about the feature.

Whirlwinds are bite-sized webcasts, each is shorter than 15 minutes. You can start anywhere in the series to learn about the parts you're most interested in.

In Part 2 about iterators, Stuart compares iterators with enumerables, describes the advantages of iterators, and tells how you can use the yield keyword to simplify iterating through your complex objects. This feature is part of C# 2 in .NET 2.0.

Duration: 9:05

Discover the entire series on C#.

What's new in C# 2

What's new in C# 3

What's new in C# 4

For the latest news for developers and ISVs, see US ISV Developer Community blog.

For code samples and additional information on C# 4, see Visual Stuart.NET



Download this episode

The Discussion

Add Your 2 Cents