Liberty on Whidbey: C# Iterators & Refactoring

If you are creating a class that looks and behaves like a collection, it is handy to allow your users to iterate through the members of your collection with the foreach statement. This is easier to do in C# 2.0 than it is in 1.1. In this new column by Jesse Liberty, he shows you what is coming up in .NET 2.0 to make this common task easier. Here, Widbey refactoring works on Whidbey.


  1. 2004-08-02 12:38 am
  2. 2004-08-02 2:15 pm
  3. 2004-08-02 4:22 pm
  4. 2004-08-02 5:21 pm