How to make a class non-inheritable other than sealed?
Answer Posted / nitin
1)Make the class Sealed
2)Make the class staic
3)Have private constructor (Like in single ton class)
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is difference between dictionary and hashtable in c#?
Name which controls do not have events?
How to force my .net app to run as administrator on windows 7?
List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.
Which technology is best for desktop application?
Why do we write system in c#?
Explain about c# language.
Can we maintain state in webservice?
What is the function of .IsDescendent()?
Explain the difference between a sub and a function in c#.
What I can do with c#?
Is type nullable c#?
Why do we need a singleton class?
What is tryparse c#?
What are the two kinds of properties in c#.