C# MCQ: C# Multiple Choice Questions And Answers

C# MCQ with answers and explanations for placement tests and job interviews. These solved C# programming MCQ questions are useful for the campus placement of all freshers including Engineering Students, MCA students, Computer and IT Engineers, etc.

 

Our C# MCQ ( C# multiple Choice Questions ) focuses on all areas of the C# programming language. We will regularly update the quiz and most interesting thing is that questions come in a random sequence. So every time you will feel new questions.

Note: Your score along with correct answers will be visible after answering all of these questions.

 

C# mcq

C# MCQ: C# Programming Multiple Choice Questions

1 / 33

Select the class which is immutable

2 / 33

CLR is the .Net equivalent of _____.

3 / 33

Select the operator which is used for casting of object to a type or a class.

4 / 33

What is used in conversion where the conversion is defined between the expression and the type.

5 / 33

Select the type of exceptions which is NOT used in .Net.

6 / 33

The correct way to overload +operator?

7 / 33

Which of the following statements is incorrect about delegate?

8 / 33

The data members of a class by default are?

9 / 33

In c#, the attribute’s information for a Class can be retrieved at

10 / 33

Abstract class contains _____.

11 / 33

Choose the wrong statement about properties used in C#.Net?

12 / 33

Which is the base class in .NET from which all the classes are derived from?

13 / 33

Which of the following statements are correct for C# language?

14 / 33

Shared Assemblies can be stored in Global Assembly Cache.

15 / 33

The point at which an exception is thrown is called the _____.

16 / 33

Which of the following is incorrect about constructors?

17 / 33

What is the value returned by function compareTo( ) if the invoking string is less than the string compared?

18 / 33

Select the operator used to check the compatibility of an object with a given type

19 / 33

What is used as inheritance operator in C#?

20 / 33

Can you specify accessibility modifier for methods inside an interface?

21 / 33

Struct’s data members are ___ by default.

22 / 33

Generics are used to make reusable code classes to

23 / 33

Reference is a ___.

24 / 33

Select the two types of threads mentioned in the concept of multithreading?

25 / 33

Which of the following keywords is used to refer base class constructor to subclass constructor?

26 / 33

Select the control which can’t be placed in the toolbox

27 / 33

The space required for structure variables is allocated on the stack.

28 / 33

What is stored in Heap?

29 / 33

The default scope for the members of an interface is _____.

30 / 33

If a class ‘demo’ had ‘add’ property with getting and set accessors, then which of the following statements will work correctly?

31 / 33

What is sealed Modifier

32 / 33

Structs can be inherited?

33 / 33

Select the method that doesn’t guarantee the garbage collection of an object.

 

Recommended Articles for you: