I love the null-coalescing operator because it makes it easy to assign a default value for nullable types.
int y = x ?? -1;
That\'s great,
If it will always be a string, you can cast:
string
string y = (string)Session["key"] ?? "none";
This has the advantage of complaining instead of hiding the mistake if someone stuffs an int or something in Session["key"]. ;)
int
Session["key"]