Ken Brubaker

The ClavèCoder

<September 2008>
SuMoTuWeThFrSa
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011


Navigation

Subscriptions

News

Kenneth Brubaker
Senior Application Architect

Locations of visitors to this page

Post Categories



C#: New nullable syntax

Anders Hejlsberg, et al., shared with the MVPs in April about extending the C# syntax to support nullable value types. In essence, int? maps to Nullable<System.Int32> just as int maps to System.Int32. They also introduce a ternary ?? operator such that x ?? 0 means (x != null) ? x : 0.  Very interesting. They got some howls but I hope this goes through. It's a baby step to X# bliss. [Via Ted Neward on TheServerSide.NET]

posted on Tuesday, May 04, 2004 5:32 AM by kenbrubaker





Powered by Dot Net Junkies, by Telligent Systems