How to make a class not inheritable other than sealed?
Answer Posted / rasik bihari
I don't agree with this (Answer # 1) as Making the class as
private will prevent it from even being initialized or
instantiated. I don't have the answer myself :-)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it not possible to store a boolean value as a variable?
What is verbatim literal in c#?
What is Asynchronous call and how it can be implemented using delegates?
What is dbml file in c#?
Why interface is required?
What is concrete method in c#?
What is a .aspx file?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
What does the dispose method do with the connection object?
Is arraylist type safe in c#?
What is the task perform by clr?
Define constructor in c#.
explain Garbage collector’s functionality on unmanaged code
What is var c#?
How many types of constructors are available in c#?