Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Nullable(T) Methods

Nullable<T> Methods

The Nullable<T> type exposes the following members.

Public method Equals Indicates whether the current Nullable<T> object is equal to a specified object. (Overrides ValueType.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Retrieves the hash code of the object returned by the Value property. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValueOrDefault() Retrieves the value of the current Nullable<T> object, or the object's default value.
Public method GetValueOrDefault(T) Retrieves the value of the current Nullable<T> object, or the specified default value.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the text representation of the value of the current Nullable<T> object. (Overrides ValueType.ToString().)

Community Additions

© 2015 Microsoft