1.

Why nullable data types introduced in C#?

Answer»

Assign a null VALUE to variable with NULLABLE DATA types. It was INTRODUCED in C# 2.0 for the same purpose as well as assign values other than null. An example: 

int? a = null;

Above, we have assigned a null value to a variable.



Discussion

No Comment Found