C# Programming - Strings - Discussion
Discussion Forum : Strings - General Questions (Q.No. 13)
13.
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);
Discussion:
11 comments Page 2 of 2.
Vaishnavi.K said:
1 decade ago
Compare the ASCII value of I and i.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers