A friend of mine came to me with this strange behavior which i can\'t explain, any insight view would be appreciated.
Im running VS 2005 (C# 2.0), the following code
Quote from the C# documentation:
If value is Empty, the return value is 0.
The behavior that you describe is entirely as expected (at least in C#).