C# include several usable but not famous operators. Today we'll consider the generation of operator '?'.
The first and known from language C old operator '?' was appeared in C# 1.0 in the Visual Studio 2002. An operator using for condition instead to block if-else:
The next '??' was offered 3 years later in Visual Studio 2005. The ?? operator is called the null-coalescing operator. It returns the left-hand operand if the operand is not null; otherwise it returns the right hand operand:
The last operator '???' was announced in Visual Studio 2012. I'm very like it because he is cutting the validation of object:
In Visual Studio 2014 the operator '?..' did not receive renewal but maybe in next versions we'll see '????' and even '?????' :-).