Home » C# Programming » Strings

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);

Next →

Discussion & Comments

No comments yet. Be the first to comment!