Don't worry about it. It is just a different way of showing the character value: '1' is equal to 49, or 31 in Hex.
[edit]
Thinking about it, you probably want to use the character converted to an int or similar:
string s = "12345";
char[] ac = s.ToCharArray();
foreach (char c in ac)
{
int i = (int) char.GetNumericValue(c);
Console.WriteLine(i);
}
You can convert the whole original string with
int i = int.Parse(s);
[/edit]
"arashmobileboy - 18 mins ago
sorry,now how can i put them into an array?
Reply
OriginalGriff - 10 mins ago
What kind of array do you want to use? What are you actually trying to achieve? Because I can't help but think you are going in a odd direction...
Reply
arashmobileboy - 6 mins ago
i want to make an array of input numbers in textbox,and for example do i[0]+15"
OK - I don't know why you want to do that, but...
string s = "12345";
char[] ac = s.ToCharArray();
int[] digits = new int[ac.Length];
for (int i = 0; i < ac.Length; i++)
{
digits[i] = (int) char.GetNumericValue(ac[i]);
}
Console.WriteLine(digits[0] + 15);