Nullable Types: Nullable Types is a new concept (introduced in .Net 2.0), using which, a null value can be assigned to Value Types. Nullable types concept is not vital for Reference Types as these can be initialized to null; Nullable types are instances of the System.Nullable struct. A nullable type can represent the normal range of values for its underlying value type, and an additional null value. For example, If an integer is used along with nullable type, it can be assigned any value (defined in its range) and in addition it can be assigned a null value as well. Nullable Types Basics: Nullable types have the following characteristics: Syntax: T? value type (It is shorthand for System.Nullable , where T is a value type. The two forms can be used in-interchange.) T can be any value type including struct ;but, cannot be a reference type. Nullable Types Members: Each instance of a nullable type has two public read-only propertie...
Let's Share......