question mark dot operator C# 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