Predict the output for below simple C# program:
static void Main(string args)
#if (DEBUG && !MYTEST)
Console.WriteLine("DEBUG is defined");
#elif (!DEBUG && MYTEST)
Console.WriteLine("MYTEST is defined");
#elif (DEBUG && MYTEST)
Console.WriteLine("DEBUG and MYTEST are defined");
Console.WriteLine("DEBUG and MYTEST are not defined");
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
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
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 DEBUG is defined
© 2016, admin. All rights reserved.