115
77.8k

150+ C# Programming Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) , Information Technology Engineering (IT) , Master of Computer Applications (MCA) , Programming Languages .

Chapters

Chapter: Unit 4
151.

What is meant by the term generics?

A. parameterized types
B. class
C. structure
D. interface
Answer» A. parameterized types
152.

Are generics in C# are same as the generics in java and templates in C++?

A. Yes
B. No
C. May be
D. None of the mentioned
Answer» A. Yes
153.

Choose the advantages of using generics?

A. Generics facilitate type safety
B. Generics facilitate improved performance and reduced code
C. Generics promote the usage of parameterized types
D. All of the mentioned
Answer» D. All of the mentioned
154.

Which among the given classes present in System.Collection.Generic.namespace?

A. Stack
B. Tree
C. Sorted Array
D. All of the mentioned
Answer» A. Stack
155.

Which feature enables to obtain information about use and capabilities of types at runtime?

A. Runtime type ID
B. Reflection
C. Attributes
D. None of the mentioned
Answer» B. Reflection
156.

Choose the namespace which consists of classes that are part of .NET Reflection API:

A. System.Text
B. System.Name
C. System.Reflection
D. None of the mentioned
Answer» C. System.Reflection

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.