?
What will be the output of the following C# code?
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);
String a = "Csharp";
String b = "CSHARP";
int c;
c = a.CompareTo(b);
Console.WriteLine(c);
Join the Discussion
Login to post a comment or share your explanation.
Login