Obscure bit of .NET that I hadn't noticed in my many years of it:
there are static members for decimal.One, decimal.Zero and decimal.MinusOne.
Prudent of Microsoft to have reserved themselves the ability to adopt their own definitions of these numbers in future: but if they want to change any other numbers they're stuck.
StackOverflow is normally great, but it struggles with this one:
http://stackoverflow.com/questions/7...-minusone-in-c
there are static members for decimal.One, decimal.Zero and decimal.MinusOne.
Prudent of Microsoft to have reserved themselves the ability to adopt their own definitions of these numbers in future: but if they want to change any other numbers they're stuck.
StackOverflow is normally great, but it struggles with this one:
http://stackoverflow.com/questions/7...-minusone-in-c
Comment