Re: ...with NullableTypes
Yes this help. I'm primarely a C# programmers... I get
confuser about Nothing value VB.NET.
What I meant is that the Null value that NullableTypes let
you set to an int, a bool, a DateTime and to quite any .NET
built-in type is not the default value of that type (as
Nothing) but is a different value and is strong typed (a
Null int have a different type from a Null bool).
If you will have the opportunity to read the NullableTypes
documentation, please let me know if you find other
confusing statement for a VB.NET programmer.
ciao (luKa)
[color=blue][color=green][color=darkred]
>> >-----Original Message-----
>> >Luca,
>> >> Actually the .NET Framework don't let you set Null
>> >> (Nothing in VB) to an int, a bool, a DateTime, etc.
>> >However! VB.NET treats Nothing as the default value for[/color]
>> any type.[color=darkred]
>> >
>> >Hope this helps
>> >Jay
>> >
>> >
>> >"Luca Minudel" <anonymous@disc ussions.microso ft.com> wrote
>> >>
>> >> If you need to set Null (Nothing in VB) to an int, a[/color][/color][/color]
bool,[color=blue][color=green][color=darkred]
>> >> a DateTime, ... you can use NullableTypes:
>> >> http://nullabletypes.sourceforge.net/
>> >>[/color][/color][/color]
Yes this help. I'm primarely a C# programmers... I get
confuser about Nothing value VB.NET.
What I meant is that the Null value that NullableTypes let
you set to an int, a bool, a DateTime and to quite any .NET
built-in type is not the default value of that type (as
Nothing) but is a different value and is strong typed (a
Null int have a different type from a Null bool).
If you will have the opportunity to read the NullableTypes
documentation, please let me know if you find other
confusing statement for a VB.NET programmer.
ciao (luKa)
[color=blue][color=green][color=darkred]
>> >-----Original Message-----
>> >Luca,
>> >> Actually the .NET Framework don't let you set Null
>> >> (Nothing in VB) to an int, a bool, a DateTime, etc.
>> >However! VB.NET treats Nothing as the default value for[/color]
>> any type.[color=darkred]
>> >
>> >Hope this helps
>> >Jay
>> >
>> >
>> >"Luca Minudel" <anonymous@disc ussions.microso ft.com> wrote
>> >>
>> >> If you need to set Null (Nothing in VB) to an int, a[/color][/color][/color]
bool,[color=blue][color=green][color=darkred]
>> >> a DateTime, ... you can use NullableTypes:
>> >> http://nullabletypes.sourceforge.net/
>> >>[/color][/color][/color]
Comment