Short, Shorter, Shortest

Three C# code snippets with the same meaning…

Variant 1: Using a full if/else clause:

Variant 2: Using the ?/: conditional operator:

Variant 3: Using the ?? operator

I did not know about the ?? operator, until Resharper 3 suggested to use variant 3 instead of variant 2 :-)