C Sharp (C#) - Strings and StringBuilder
Identify the error in this code snippet:
string s = "example";
int pos = s.IndexOf('a');
Console.WriteLine(pos);string s = "example";
int pos = s.IndexOf('a');
Console.WriteLine(pos);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions