-
Manifest is an area where:
Skill/Topic: AdvancedA) the assembly code is compiledB) Debug information is a storedC) Assembly metadata is stored
-
You can derive your own classes from the base class Library
Skill/Topic: IntermediateA) TrueB) False
-
Does C# support multiple inheritance?
No, use interfaces instead.
-
We can call COM objects in C# using :
Skill/Topic: AdvancedA) DLLImportB) UsingDLLC) DLLCall
-
The following is the namespace used for Reflection:
Skill/Topic: AdvancedA) System.Windows.ReflectionB) System.ReflectionC) System.Features.Reflection
-
We inherit a class using the following syntax:
Skill/Topic: AdvancedA) class DerivedClass: BaseClass{ }B) class DerivedClass:: BaseClass{ }C) class BaseClass :DerivedClass { }
-
We need to register a private assembly in the Windows registry in order to use it.
Skill/Topic: AdvancedA) TrueB) FalseExplanation: We just need to copy it in the folder where the executable is located or in a subfolder below it..
-
How does a running application communicate or share data with other applicxation running indifferent application domains?
Skill/Topic: AdvancedA) using ExceptionsB) using attributesC) using .NET remoting services.
-
How do you deploy an assembly?
Skill/Topic: AdvancedA) Using MSI installerB) using a CAB archiveC) using XCOPYD) All of the above
-
What is IL?
Skill/Topic: BeginnerA) Interchangeable LibraryB) Interoperable LanguagesC) Intermediate LanguageD) Interchangeable languages
-
IL code compiles to
Skill/Topic: BeginnerA) Platform-specific Executable codeB) Byte CodeC) .NET CodeExplanation: The CLR compiles the IL into Platform-specific Executable code
-
Which is the first level of compilation in the .NET languages?
Skill/Topic: BeginnerA) CLRB) ILC) Platform-specific codeExplanation: Intermediate Language
-
The C# code files have an extension
Skill/Topic: BeginnerA) .csharpB) .csC) #
-
A code block in C# is enclosed between
Skill/Topic: BeginnerA) < >B) [ ]C) { }
-
There must be at least the following function in a C# program
Skill/Topic: BeginnerA) main()B) Main()C) Enter()
-
All the C# programs must have the following statement
Skill/Topic: BeginnerA) using DotNetB) using SystemC) include System
-
-
What's the implicit name of the parameter that gets passed into the class' set method?
Value, and its datatype depends on whatever variable we're changing.
-
What's the top .NET class that everything is derived from?
System.Object.
-
Is XML case-sensitive?
Yes, so and are different elements.
C# Interview Questions
Ans