Whirlwind 4: What's new is C# 2 - Accessors, Static Classes, Nullable Types
- Posted: Mar 26, 2008 at 12:21 AM
- 8,149 Views
- 1 Comment
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
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.
Part 4 is about accessors, static classes, and nullable types. Stuart shows how the features are similar to features in C# 1. Stuart explains how to write diferent accessors on properties. He explains the syntax of the ? that can be added to a type and the ?? operators. He shows how to determine if a value is null.
These features are part of C# 2 in .NET 2.0.
Discover the entire series on C#.
What's new in C# 2
What's new in C# 3
What's new in C# 4