Ken Brubaker
The ClavèCoder
<
September 2008
>
Su
Mo
Tu
We
Th
Fr
Sa
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
Search
Go
Navigation
Blogs
Login
Subscriptions
RSS 2.0
Atom 0.3
Contact
News
Kenneth Brubaker
Senior Application Architect
Post Categories
Architecture
(rss)
ASP.NET
(rss)
CLR
(rss)
Database
(rss)
Design Guidelines
(rss)
Humor
(rss)
Industry
(rss)
JavaDoom
(rss)
Languages
(rss)
Longhorn
(rss)
Notable
(rss)
Practice
(rss)
Security
(rss)
Tools
(rss)
Trivia
(rss)
VS2005
(rss)
VSTS
(rss)
Web Services
(rss)
Win32
(rss)
WSE
(rss)
XML
(rss)
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