Re: More integer magic.

Brady Kelly <[email protected]> Tue, 26 Feb 2008 15:21:26 +0200
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
Per:

> I don't think this has anything to do with integers. I'm guessing
> SetValue()
> simply assigns default(T) if the assigned value is invalid.

I would prefer it attempted to cast and assign the invalid value, causing a
NullReference exception or some or other exception, so I know there is a
problem.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com