is it possible to inherit a class but methods declared in
the class should not be inheritable i possible how?
Answer Posted / arunkumar
s it is possible by doing Sealed keyword to the method in
first class
| Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
Define the term immutable ?
Why to use lock statement in c#?
Why main is static in c#?
How do I unload an assembly?
Can extension methods access private members?
Explain the ways to deploy an assembly?
What is method in c#?
What are assemblies?
What is a jagged array?
Why we use dll in c#?
How do you mark a method obsolete?
Explain the process of inheriting a class into another class?
What is a sealed class?
What is the difference between system.string and system.text.stringbuilder classes?
Can properties be private in c#?