Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

What will be the output of the following program: #define DEBUG using System; using System.Diagnostics; class Program { [Conditional("DEBUG")] public static bool Print() { Console.WriteLine("Printed"); return true; } public static void Main(string[] args) { Print(); } }

It will give a run time error because DEBUG is not correctly defined
It will give a compilation error because the conditional attribute is not valid
It will print "Printed" on the console
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon