c# string char at code example
Example 1: c# get char from string
char first = mystring[0];
char second = mystring[1];
char third = mystring[2];
Example 2: c# char
var chars = new[]
{
'j',
'\u006A',
'\x006A',
(char)106,
};
Console.WriteLine(string.Join(" ", chars)); // output: j j j j