J
Jeff
IDE: VS .NET 2003
OS: XP pro sp2
this is some line from my code:
string t = "356";
char[] u = t.ToCharArray();
Here I thought u should represent an array of char (the elements 3,5,6) ...
but when I debug the code I see that the elements are: 51'3', 53'5', 54'6'
When I use System.Convert.ToInt32() on the first element (51'3') I get the
value 51, I want it to return 3
What am I doing wrong here?
OS: XP pro sp2
this is some line from my code:
string t = "356";
char[] u = t.ToCharArray();
Here I thought u should represent an array of char (the elements 3,5,6) ...
but when I debug the code I see that the elements are: 51'3', 53'5', 54'6'
When I use System.Convert.ToInt32() on the first element (51'3') I get the
value 51, I want it to return 3
What am I doing wrong here?