Operator ?? , that was introduced in the .NET 2.0, takes first place in my top used C# idioms list a long time, but unfortunately it is rarely used in projects I’ve participated. Therefore these snippets could be found in production code very often: public string Caption { get { return ViewState [ "Caption" ]
Similar Posts
I blogged two years ago (See Nullable Value Types and the New Syntax , and More on Nullable Value Types ) about the new nullable operator in .NET 2.0
EDIT As someone pointed out my example was a bit sloppy so it has been edited. In Step One, the Person class has been changed to avoid the need to cast
the System.DirectoryServices namespace from .net allready contains a lot of build in functionality for use with Active Directory. However some default
Hmmmmmmm. If I had a pound for every time someone has asked me in the past What's the best way to pass an array of values into a SQL Server stored procedure