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

Abstract class contains _____.

2 / 33

Structs can be inherited?

3 / 33

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

4 / 33

What is stored in Heap?

5 / 33

Select the class which is immutable

6 / 33

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

7 / 33

What is sealed Modifier

8 / 33

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

9 / 33

Struct’s data members are ___ by default.

10 / 33

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

11 / 33

The correct way to overload +operator?

12 / 33

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

13 / 33

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

14 / 33

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

15 / 33

Which of the following statements is incorrect about delegate?

16 / 33

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

17 / 33

Which of the following is incorrect about constructors?

18 / 33

CLR is the .Net equivalent of _____.

19 / 33

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

20 / 33

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

21 / 33

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

22 / 33

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

23 / 33

Shared Assemblies can be stored in Global Assembly Cache.

24 / 33

Generics are used to make reusable code classes to

25 / 33

Can you specify accessibility modifier for methods inside an interface?

26 / 33

What is used as inheritance operator in C#?

27 / 33

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

28 / 33

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

29 / 33

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

30 / 33

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

31 / 33

Reference is a ___.

32 / 33

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

33 / 33

The data members of a class by default are?

 

Recommended Articles for you: