Whirlwind 2: What's new in C# 2 - Iterators
- Posted: Mar 19, 2008 at 4:25 PM
- 8,641 Views
- 1 Comment
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
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
- Whirlwind 1 - Generics
- Whirlwind 2 - Iterators
- Whirlwind 3 - Partial types, Anonymous methods
- Whirlwind 4 - Accessors, Static Classes, Nullable Types
What's new in C# 3
- Whirlwind 5 - Automatically Implemented Properties, Type Inference, Initializer
- Whirlwind 6 - Anonymous types, Extension method
- Whirlwind 7 - Lambda Expressions
- Whirlwind 8 - Linq
What's new in C# 4
- Whirlwind 9 - Introducing C# 4
- Whirlwind 10 - Dynamic Lookup
- Whirlwind 11 - Named & Optional Parameters
- Whirlwind 12 - More COM Love
- Whirlwind 13 - Covariance & Contravariance
- Whirlwind 14 - Events
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
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Remove this comment
Remove this thread
close