R

Ram Sharma • 193.86K Points
Coach

Q. Number of constructors a class can define of ?

  • (A) 1
  • (B) 2
  • (C) Any number
  • (D) None of the mentioned
  • Correct Answer - Option(C)
  • Views: 127
  • Filed under category C#

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs on C#

Q. CLR is the .NET equivalent of _________.

Q. Every C# statement is terminated by ___.

Q. Which of the following cannot be used to declare an interface in C#?

Q. Which C# keyword is used to coming out from the loop?

Q. Which of the following is the correct size of a Decimal datatype?

Q. Which of the following statements are correct about arrays used in C#.NET? 1. Arrays can be rectangular or jagged. 2. Rectangular arrays have similar rows stored in adjacent memory locations. 3. Jagged arrays do not have an access to the methods of System.Array Class. 4. Rectangular arrays do not have an access to the methods of System.Array Class. 5. Jagged arrays have dissimilar rows stored in non-adjacent memory locations.

Q. Which of the following is the correct way to create an object of the class Sample? 1. Sample s = new Sample(); 2. Sample s; 3. Sample s; s =new Sample(); 4. s = new Sample();

Q. Which of the following are valid .NET CLR JIT performance counters? 1. Total memory used for JIT compilation 2. Average memory used for JIT compilation 3. Number of methods that failed to compile with the standard JIT 4. Percentage of processor time spent performing JIT compilation 5. Percentage of memory currently dedicated for JIT compilation

Q. What will be the output of the following C# code?

Q. Which of the following statements are correct about an ArrayList collection that implements the IEnumerable interface? 1. The ArrayList class contains an inner class that implements the IEnumerator interface. 2. An ArrayList Collection cannot be accessed simultaneously by different threads. 3. The inner class of ArrayList can access ArrayList class's members. 4. To access members of ArrayList from the inner class, it is necessary to pass ArrayList class's reference to it. 5. Enumerator's of ArrayList Collection can manipulate the array.

Learn All C# MCQs


Question analytics