Reputation: 243
Textbox text is number, and after int.Parse
the debugger is showing the value as HEX rather than the value of 958 that I expect.
Upvotes: 2
Views: 2642
Reputation: 294
While debugging open Locals Window, right click value displaying in Hex and click Hexdecimal Display.
Done, displays in Decimal.
Upvotes: 0
Reputation: 12978
It looks like it is parsing correctly.
Your debugger is just showing you the value in hexadecimal.
948 in base 10 is equal to 3b4 in hexadecimal.
Upvotes: 3