String a = &quot;Csharp&quot;;String b = &quot;CSHARP&quot;;int c;c = a.CompareTo&#40;b&#41;;Console.WriteLine&#40;c&#41;;
A. 0
B. 1
C. -2
D. -1
Answer:A
String a = &quot;Csharp&quot;;String b = &quot;CSHARP&quot;;int c;c = a.CompareTo&#40;b&#41;;Console.WriteLine&#40;c&#41;;
A. 0 B. 1 C. -2 D. -1