NullableT Structure |
Namespace: System
[SerializableAttribute] public struct Nullable<T> where T : struct, new()
The NullableT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Indicates whether the current NullableT object is equal to a specified object. (Overrides ValueTypeEquals(Object).) |
![]() | GetHashCode | Retrieves the hash code of the object returned by the Value property. (Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValueOrDefault | Retrieves the value of the current NullableT object, or the object's default value. |
![]() | GetValueOrDefault(T) | Retrieves the value of the current NullableT object, or the specified default value. |
![]() | ToString | Returns the text representation of the value of the current NullableT object. (Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
![]() | HasValue | Gets a value indicating whether the current NullableT object has a value. |
![]() | Value | Gets the value of the current NullableT value. |