Can you prevent your class from being inherited and becoming
a base class for some other classes?
Answer Posted / rakesh
We can also make the methods sealed.In that case ,the class
can inherit but the sealed methods in that class cannot
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an enumerator in c#?
What is form feed and carriage return?
What are satellite assemblies?
Why abstraction is used in c#?
What are the Configuration files in .net?
Does a class need a constructor c#?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
Is nullable type c#?
Define property in c#.net?
What is difference between float and integer?
What is the use of regex in c#?
Is null or empty in c#?
How can I use .NET components from COM programs?
How can we sort an array in c#?
What is COM Interoperability?