The members of System.Nullable<T> are listed below.
See Also: Inherited members from System.ValueType
Public Constructors
| | Constructs and initializes a new instance of Nullable<T> giving it the specified initial value. |
Public Properties
[read-only] | HasValue | bool. Indicates whether the current instance contains a value. |
[read-only] | Value | T. Gets the value, if any, of the current instance. |
Public Methods
override | Equals(object) : boolDetermines whether the current instance and the specified
object represent the same type and value. |
override | GetHashCode() : intGenerates a hash code for the current instance. |
| GetValueOrDefault() : TReturns the value of the current instance, or if it has none, returns the default value for the type T. |
| GetValueOrDefault(T) : TReturns the value of the current instance, or if it has none, returns alternateDefaultValue. |
override | ToString() : stringReturns a string representation of the value of the current instance. |
Public Operators