in , ,

I came across this while doing an online practice test…

I came across this while doing an online practice test... | code-memes, program-memes, test-memes, string-memes, class-memes, c#-memes, console-memes, cs-memes | ProgrammerHumor.io
code-memes, program-memes, test-memes, string-memes, class-memes, c#-memes, console-memes, cs-memes | ProgrammerHumor.io

[text] 6. What will be the output of the following C code snippet class Program static void Mainstring args String s1 CSHARP String s2 s1.ReplaceHL Console.WriteLines2 Console.ReadLine e CSHAP e CSHP e CSHP e CSHALP Explanation Replace method replaces all occurrences of a single character in invoking strings with another character. s1.ReplaceHL replaces every occurrence of H in CSHARP by L giving CSHALP. Output