Q168
What will be the output of the following C# code snippet? class Program static void Main(string[] args) String s1 = "CSHARP"; String s2 = s1.Replace('H','L'); Console.WriteLine(s2); Console.ReadLine();
A.
CSHAP
B.
CSHP
C.
CSHALP
AnswerD.
CSHARP
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board