Possible duplicate:What does bool do? return type?
I got in my class the following property in the class
public long? EmployeeId { get; set; }
I did not look for this operator according to MSDN MSDN OPERATOR there are only operators ??operator with zero coalescing and ?:conditional operator. but what about?
??
?:
?
In this case, is ?not an operator. This is a shorter way to write:Nullable<long>
Nullable<long>
T?matches exactly Nullable<T>(with Ta type)
T?
Nullable<T>
T
It is called a null type (see MSDN )
"-nullable" (, int, long, a struct) null.
int
long
struct
null
, , .
. Nullable type.
. :
http://msdn.microsoft.com/en-us/library/1t3y8s4s(v=vs.80).aspx
T? System.Nullable, T - . .
:
, null .