WhoAmI
0
Q:

c# null accessor

//Return stirng representation of nullable DateTime
DateTime? x = null;
return x.HasValue == true ? x.Value.ToString() : "No Date";
1
int? length = people?.Length; // null if people is null
0

New to Communities?

Join the community