

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following will be the correct output for the C#.NET code snippet given below? String s1 = "Five Star"; String s2 = "FIVE STAR"; int c; c = s1.CompareTo(s2); Console.WriteLine(c); |
A. | 0 |
B. | 1 |
C. | 2 |
D. | -1 |
E. | -2 |
Answer» E. -2 | |