c# question mark followed by dot code example
Example: c# dot question mark
FileInfo fi = ...; // fi could be null
long? length = fi?.Length; // If fi is null, length will be null
FileInfo fi = ...; // fi could be null
long? length = fi?.Length; // If fi is null, length will be null