T
Tony Johansson
Hello!
What purpose has this Value propery on nullable types because it possible
to display their value without using it.
For example:
int? intNullable1 = 3;
int? intNullable2 = 5;
Console.WriteLine(result); // This display 8
Console.WriteLine(result.Value); // This also display 8 the same
So I can't see any point in using this Value property on nullable types or
have I missed something here perhaps
that makes the Value property useful to have?
//Tony
What purpose has this Value propery on nullable types because it possible
to display their value without using it.
For example:
int? intNullable1 = 3;
int? intNullable2 = 5;
Console.WriteLine(result); // This display 8
Console.WriteLine(result.Value); // This also display 8 the same
So I can't see any point in using this Value property on nullable types or
have I missed something here perhaps
that makes the Value property useful to have?
//Tony