-
-
How do you choose 1 entry point when C# project has more Main( ) method?
A) Not PossibleB) Using /Main along with class name in csc.exeC) By just providing the class name to csc.exe
-
Attributes
Skill/Topic: IntermediateA) Are data typesB) Return typesC) Used to provide extra information for the compiler
-
How do you inherit from a class in C#?
Place a colon and then the name of the base class. Notice that it's double colon in C++.
-
-
-
-
You can inherit multiple interfaces in C#
Skill/Topic: IntermediateA) TrueB) FalseExplanation: A class can inherit multiple interfaces
-
Where we can use DLL made in C#.Net
We can use the .net DLLs only in the applications supporting .NET.
-
-
-
A char in C# is
Skill/Topic: BeginnerA) 8 bitB) 16 bitC) 32 bitExplanation: Unicode characters are supported in C#
-
-
-
-
ASP.NET web pages can be programmed in C#?
Skill/Topic: BeginnerA) YesB) No
-
Which modifiers hides an inherited method with same signature
A) NewB) VirtualC) SealedExplanation: New hides the inherited method which was overridden by base class
-
Every statement in C# must end in
Skill/Topic: BeginnerA) ;B) ,C) #
-
Are private class-level variables inherited?
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.
-
Does C# support multiple inheritance?
No, use interfaces instead.
C# Interview Questions
Ans