skip to main
|
skip to sidebar
Code Goes Here
everything in its right place
Thursday, March 26, 2009
The C# coalesce operator short circuits
Though it isn't mentioned in the help, the C# coalesce operator ( ?? ) does short circuit. If the left hand side isn't null, then the right hand side isn't evaluated.
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2010
(2)
►
May
(2)
DataContext OnDelete partial method doesn't delete...
Rhino Expectations should be hit but aren't
▼
2009
(15)
►
November
(2)
VSIX with the VS2010 Beta 2 SDK
Back from PDC
►
August
(1)
Stepping into methods with yield return
►
June
(2)
AddFromTemplate has misleading documentation
How to access a Virtual PC from the Host
►
April
(2)
SSRS 2005 in Vista with IIS 7
Writing a Compiler with F# Part 4
▼
March
(6)
The C# coalesce operator short circuits
F# Steals Show Smart Tag Keyboard Shortcut
Writing a Compiler with F# Part 3
Using a custom base class for a generated ObjectCo...
Writing a Compiler with F# Part 2
Writing a Compiler with F#
►
February
(2)
Type.IsAssignableFrom seems backwards
Extension Methods and CodeDom
►
2008
(11)
►
November
(1)
Using the Windsor Fluent Interface and an XML Conf...
►
October
(1)
ASP.NET MVC and form editing scenarios
►
September
(1)
C# mod operator (%) and negative numbers
►
July
(1)
NUnit within Visual Studio
►
June
(1)
Windsor and Linq DataContexts
►
May
(1)
Anonymous Interface Implementation
►
April
(1)
DataContractSerializer and 0 length array
►
March
(1)
New stuff
►
February
(1)
Derived Properties in LINQ to SQL
►
January
(2)
Also
Misc. Project Notes
►
2007
(10)
►
December
(1)
Whining
►
November
(1)
More functional Ruby
►
October
(1)
A quick note about Extension Methods
►
September
(1)
Build your own whiteboard
►
June
(1)
Extending the CalendarExtender
►
May
(2)
Quick Note
Dynamic Cast in C#
►
March
(1)
Anonymous Method Subtleties
►
January
(2)
Referencing a Master Page from a User Control
Type Theory
►
2006
(13)
►
November
(1)
ObjectDataSource doesn't respect culture on update...
►
October
(1)
Enabling Sane Project and Solution Structure
►
September
(3)
Lightweight Promotable Transactions and Connection...
HttpListenerContext is not serializable
More Http.sys and Rails
►
August
(3)
FP on the brain
WF, ASP.NET, and transactions
More WinFX WF Beta 2 fun
►
July
(5)
Quick .NET Web Reference Note
Http.sys and Rails
WinFX WF Beta 2 installation problems resolved
WEBrick Issues
Links
My MSDN Articles
My VSM Article
About Me
Code Monkey
Dallas, Texas, United States
View my complete profile
0 comments:
Post a Comment