C Sharp (C#) - Strings and StringBuilder
Identify the error in this code snippet:
string s = "Example";
if(s.Contains("ex"))
{
Console.WriteLine("Found");
}string s = "Example";
if(s.Contains("ex"))
{
Console.WriteLine("Found");
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions