Just because I always forget this...the C# null Coalescing operator:
Sample below shamelessly stolen from here...
MyClass anObject;
...
// Variant 1: Using a full if/else clause
MyClass anotherObject;
if (anObject != null)
 anotherObject = anObject;
else
 anotherObject = new MyClass();
Â
// Variant 2: Using the ?/: conditional operator
MyClass anotherObject = anObject != null ? anObject : new MyClass();
Â
// Variant 3: Using the ?? operator
MyClass anotherObject = anObject ?? new MyClass();