c sharp access character in string by index code example
Example 1: get string character by index c#
//Returns a char
myString.[0];
//Returns a string
myString.[0].ToString();
Example 2: c# get char from string
char first = mystring[0];
char second = mystring[1];
char third = mystring[2];