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
What is the difference between properties and indexer in c#?
How does foreach loop work in c#?
What is the symbol used for in c#?
Explain the difference between abstract class and interface in .net?
What is meaning of type safety in c#?
What does break do in loop?
How C# 4.0 supports dynamic programming language?
What is the difference between “dispose” and “finalize” variables in c#?
What is the advantage of dependency injection?
Are value types sealed?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
Why static constructor is parameterless in c#?
What is the difference between protected and internal in c#?
What are the different types of assemblies available and their purpose?
Describe the ways of cleaning up objects in c#.