How can you prevent classes to be inherited?
Answer Posted / jaffer
By using Sealed keyword before class.
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is different about switch statements in c#?
What are console applications used for?
What is a c sharp?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
What is a template class?
Explain Constructor and destructor?
How to use delegates with events?
Define satellite Assembly?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
What do you understand by an Implicit Variable?
How is lazy loading achieved?
What are generations and how are they used by the garbage collector?
Can we maintain state in webservice?
Is namespace a class?
What is inumerable?