C# ASP.NET SQL SERVER

Null Coalescing Assignment Operator for C#

Great post by Chris Eargle about a null coalescing assignment operator for c#.

How would you like to be able to say:

myObj ??= new MyObj();

instead of:

myObj = myObj ?? new MyObj();

Seems like a trivial "enhancement" to the language but makes sense to me.

» Similar Posts

  1. VS2010 Beta now available
  2. IE input button tag on localhost
  3. Better than a Production Break

» Trackbacks & Pingbacks

    No trackbacks yet.
Trackback link for this post:
http://guyellisrocks.com/trackback.ashx?id=232

» Comments

    There are no comments. Kick things off by filling out the form below.

» Leave a Comment