1) GAC means ____? a) Global Assembly Cache b) Global Assembly Store c) Garbage Assemble Cache d) Global Advanced Cache 2) Select the namespace which should be included while makin... 1) GAC means ____? a) Global Assembly Cache b) Global Assembly Store c) Garbage Assemble Cache d) Global Advanced Cache 2) 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 3) Number of static constructors a class can define is? a) 1 b) 2 c) Any number d) None of the mentioned 4) C# does not support: a) polymorphism
Understand the Problem
The question primarily consists of multiple-choice questions related to C# programming and concepts, focusing on topics such as GAC (Global Assembly Cache), LINQ, number of static constructors, and features supported by C#. The questions require knowledge of .NET frameworks and programming principles.
Answer
1) Global Assembly Cache 2) System.Linq 3) 1 4) C# supports polymorphism
- Global Assembly Cache 2) System.Linq 3) 1 4) polymorphism is supported by C#
Answer for screen readers
- Global Assembly Cache 2) System.Linq 3) 1 4) polymorphism is supported by C#
More Information
The Global Assembly Cache (GAC) stores shared assemblies. LINQ operations require System.Linq namespace. C# allows only one static constructor per class and supports polymorphism, allowing objects to be treated as their base type.
Tips
A common mistake is assuming multiple static constructors are allowed or that C# lacks polymorphism.
Sources
- What is the GAC in .NET? - Stack Overflow - stackoverflow.com
- Assemblies and the GAC - Mono Project - mono-project.com
AI-generated content may contain errors. Please verify critical information