Shyju
Shyju

Reputation: 218832

C#: Integer value being returned as hexadecimal in VS 2008

I have a c# code snippets where i am creating a list of my custom class objects.When i am taking the count of that,its showing me a hexadecimal value in the quickwatch window.

alt text http://img509.imageshack.us/img509/434/morrisissueinvs2008.jpg

But if i type listItemCount.ToStrin(), i am getting the proper value as output (ie : 50061)

Any idea how to correct this ?

Upvotes: 1

Views: 523

Answers (1)

João Angelo
João Angelo

Reputation: 57718

Right click the Watch Window and deselect the Hexadecimal Display of values.

Upvotes: 11

Related Questions