Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 18, 2009 01:42 PM by David Anton
Dec 17, 2009 07:40 PM|LINK
Why not just 0
Dec 17, 2009 08:45 PM|LINK
From this link:
'If you use reflector and dig through the BCL, you'll notice that MinusOne and Zero are only used with in the VB runtime. It exists primarily to serve conversions between Decimal and Boolean values."
Dec 18, 2009 01:42 PM|LINK
Sometimes this can come in handy to let the compiler know which overloaded method you want to call:
void test(decimal d)
void test(int i)
If you just use "test(0)", then the second overload will always be called.
(note: there are also other ways to do this).