Predict the output for below simple C# program:
static void Main(string args)
String a = "CsharpStar";
String b = "CSHARPSTAR";
c = a.CompareTo(b);
0 of 1 questions completed
Please click on ‘Start Quiz’ button to answer the quiz.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
0 of 1 questions answered correctly
Time has elapsed
You have reached 0 of 0 points, (0)
Question 1 of 1
Please choose the correct answer from below options :Correct
Great !! You got it.Incorrect
Sorry, this is not correct.
The answer is -1
Reference books, you may like:Programming WCF Services: Design and Build Maintainable Service-Oriented Systems
WCF Multi-Layer Services Development with Entity Framework, 4th Edition
Learning WCF: A Hands-on Guide
© 2016, admin. All rights reserved.