Stuart Celarier[^] and I continue the set of screencasts on Channel 9[^] about new language features in C#. It's a Whirlwind Tour of the important language features of C# 4. Stuart describes each major feature and why it is useful. But he doesn't get into best practices nor suggested usages. Just the facts about each feature. Whirlwinds are bite-sized webcasts, generally shorter than 15 minutes. You can start anywhere in the series to learn about the parts you're most interested in. What's new in C# 4
- Whirlwind 9 - Introducing C# 4[^]. This session reviews the history of C# and provides an overview of the features in the upcoming screencasts.
- Whirlwind 10 - Dynamic Lookup[^]. This session on dynamic lookup introduces a new pseudo-type dynamic into the C# type system. It's used to call dynamic languages, COM object, or XML using types that are not known at compile time (aka duck typing). Stuart introduces the concepts of dynamic lookup and how you use it in your C# code.
- Whirlwind 11 - Named & Optional Parameters[^]. Stuart describes the feature that VB programmers have known, using parameters by name and having default values set on parameters that are not specified.
Three more coming later this week.
- Whirlwind 12 - More COM Love. Stuart describes the importance of these two new features in C# for COM Interop. ref keyword is optional if you are not going to use a return value when calling COM. No Primary Interop Assembly (PIA) is required.
- Whirlwind 13 - Covariance & Contravariance. These features provide way for you to access collections of deriv