Top 150+ Solved C# Programming MCQ Questions Answer
Q. Choose the namespace in which the interface IEnumerable is declared?
a. System.Collections
b. System.Collections.Generic
c. Both a & b
d. None of the mentioned
Q. Can we use linq to query against a DataTable?
a. Yes
b. No
c. Situational
d. None of the mentioned
Q. Select the namespace which should be included while making use of LINQ operations:
a. System.Text
b. System.Collections.Generic
c. System.Linq
d. None of the mentioned
Q. 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
Q. 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
Q. Which among the given classes present in System.Collection.Generic.namespace?
a. Stack
b. Tree
c. Sorted Array
d. All of the mentioned
Q. 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
Q. 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