Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

What will be the output of the following program? class Program { public class Base { public Base() { Console.WriteLine("Parameterless constructor"); } public Base(int x) : this() { Console.WriteLine("Constructor with parameter {0}",x); } static Base() { Console.WriteLine("Static constructor"); } } static void Main(string[] args) { var one = new Base(5); var two = new Base(6); } }

Parameterless constructor Constructor with parameter 5 Parameterless constructor Constructor with parameter 6
Static constructor Parameterless constructor Constructor with parameter 5 Static constructor Parameterless constructor Constructor with parameter 6
Parameterless constructor Static constructor Constructor with parameter 5 Parameterless constructor Static constructor Constructor with parameter 6
Static constructor Parameterless constructor Constructor with parameter 5 Parameterless constructor Constructor with parameter 6
Constructor with parameter 5 Constructor with parameter 6
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon