I was writing to some code where I needed to read the date value from a Calendar control in my page (Ajax toolkit: calendar extender).
The code below:>
You can use the ?? operator to work with nullables in a very concise way in C#. See my comment on Travis's answer for a shorter way of expressing the "if not null then use it else use some default value" concept. They both do the same thing.