Top 200+ Advanced C# Interview Questions 2019-2020 - 1
What are delegates?
A delegates is a class derived from System.Delegate.
However the language has a special syntax for declaring delegates which means that they don’t like classes.
A delegate represent a method with a particular signature.
An instance of a delegate represents a method with a particular signature on a particular object (or class in the case of a static method).
Does C# support multiple inheritance?
C# supports multiple inheritance of interfaces, but not of classes.
What are sealed classes in C#?
The sealed modifier is used to prevent derivation from a class. A compile time error occurs if a sealed class is specified as the base class of another class.
(A sealed class cannot also be an abstract class).
What is an abstract class?
A class that cannot be instantiated.
An abstract class is a class that must be inherited and have the methods overridden.
An abstract class is essentially a blueprint for a class without any implementation.
What are all the different levels of scoping?
Block Level – Variables declared within an If… Then, For … Next, Do… Loop block.
Procedure Level – Variables declared within the procedures.
Module Level – Variables declared outside of a procedure.
Namespace Level – Variables declared outside of a procedure, but given public accessibility (Public or Friend).
- C# Interview Questions and Answers for Freshers
- C# Interview Questions for Experienced Professionals
- C# Interview Questions and Answers for Experienced
- C# Interview Questions with Answers Pdf
- C Sharp Interview Questions and Answers
- C Sharp Interview Questions and Answers for Freshers Pdf
- Top 200+ Advanced C# Interview Questions 2019-2020
- C# Programming Online Test Questions and Answers
- C# Algorithm Interview Questions and Answers
7000+ TNPSC Group 1, 2, 4, VAO Indian Economy Study Materials Pdf More
7000+ Gate Computer Science Engineering Previous Year Questions More
7000+ Fill in the Blanks with Suitable Homonyms More
7000+ Fill in the Blanks with Suitable Homophones More
Power Semiconductor Device and Integrated Circuits MCQ Questions Pdf More
brain teaser puzzles with answers More
1000+ DC Motor Objective Questions and Answers Pdf More
Latest Abbreviations for Competitive Exams 2020-2021 More
Computer Awareness Online Test for Bank PO Exams More
1000+ C++ MCQS More