SyntaxFix
Write A Post
Hire A Developer
Questions
string s = "hello"; char c = s[1]; // now c == 'e'
See also Substring, to return more than one character.
Substring