[英]what does “timespan?” mean in c#?
what does the question mark mean at the end of the variable?变量末尾的问号是什么意思?
TimeSpan? begin = // bla bla bla
The coding language is c#编码语言为 c#
TimeSpan?
means you're declaring a nullable type.意味着您正在声明一个可为空的类型。 A type which can support null values.
可以支持 null 值的类型。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.