Q125
What will be the output of the following C# code? static void Main(string[] args) string s1 = "Hello I Love Csharp "; Console.WriteLine(Convert.ToChar( (s1.IndexOf('I') - s1.IndexOf('l')) * s1.IndexOf('p')); Console.ReadLine();
A.
I
B.
Hello I
C.
Love
D.
H
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board