I have a problem which I do not understand. Here is my code:
String input = "3 days ago"
String firstCharacter = input[0].ToString(); //Returns 3
int firstCharacter = (int)input[0]; //Returns 51
Why does it return 51?
PS: My code comes from this thread: C#: how to get first char of a string?
More information:
In case that input = "5 days ago", then int firstCharacter is 53.