Top 200+ Advanced C# Interview Questions 2019-2020 - 1
Question: 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).
Question: 2
Does C# support multiple inheritance?
C# supports multiple inheritance of interfaces, but not of classes.
Question: 3
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).
Question: 4
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.
Question: 5
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
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
Steam and Power Generation Quiz Questions & Answers Pdf More
UPSC, SSC, IAS, IPS, TNPSC Prelims Mains Questions on Panchayati Raj More
Internet, Networking Online Test More
100+ Hard Chemistry Questions and Answers More
Top 10,000+ TNPSC General Science Gk Questions with Answers More
New Pattern Cloze Test Pdf Download More