Q94
What will be the output of the following C# code? String a = "Csharp"; String b = "CSHARP"; int c; c = a.CompareTo(b); Console.WriteLine(c);
A.
0
B.
1
C.
-2
D.
-1
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board