C Sharp (C#) - Strings and StringBuilder
What will be the output of this C# code?
string s = "Hello";
s = s.Replace('l', 'x');
Console.WriteLine(s);string s = "Hello";
s = s.Replace('l', 'x');
Console.WriteLine(s);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions