examples about how to access a member of a class with a dot operator in c#
Example 1: c# null conditional
//Return stirng representation of nullable DateTime
DateTime? x = null;
return x.HasValue == true ? x.Value.ToString() : "No Date";
Example 2: c# null accessor
int? length = people?.Length; // null if people is null