Home » C# mcq questions with answer – Set 1

C# mcq questions with answer – Set 1

Important Instructions:

  • Total Number Of Questions : 10
  • Passing Marks : 7
  • Each Question Carry 1 Mark, No Negative Marking.
  • Do Not Refresh The Page.
  • This Is A FREE Online Test, DO NOT Pay Money To Anyone To Attend This Test.
  • Best Of Luck…

Results

-

#1. Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

#2. Which of the following are value types?

Select all that apply:

#3. In which of the following should the methods of a class differ if they are to be treated as overloaded methods?

Select all that apply:

#4. How can you prevent inheritance from a class in C#.NET ?

#5. Assume class B is inherited from class A. Which of the following statements is correct about construction of an object of class B?

#7. Which of the following statements are correct about delegates?

#8. Once applied which of the following CANNOT inspect the applied attribute?

#9. A "Student" class has a property called "rollNo" and "stu" is a reference to a "Student" object and we want the statement "stu.RollNo = 28" to fail. Which of the following options will ensure this functionality?

#10. In C#.NET if we do not catch the exception thrown at runtime then which of the following will catch it?

CHECK ANSWER
3.5/5 - (2 votes)
Scroll to Top