Null-Conditional Operator in C#

Null-Conditional Operator is available from C# 6.0 which makes more readable way of comparing the null object. The operator ‘?.’ is called Null-Conditional Operator. Some programmer calls this operator as Elvis Operator. In this example, we will see how to use this operator to check for the null objects.