how to take a character from a string in c# code example
Example 1: c# get char from string
char first = mystring[0];
char second = mystring[1];
char third = mystring[2];
Example 2: c# get certain character from string
string myString = "string";
// outputs r
print(mystring[2]);