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 are methods c#?
What is the difference between Static, Const and read only?
What is the relationship between a process, application domain, and application?
Can a class have more than 1 destructor?
What is the difference between out and ref in c#?
What is addressof operator?
Is python easier than c#?
Can property be private in c#?
How to implement delegates in c#.net
What is an interface class in c#?
Why do we use virtual methods in c#?
Can you describe iuknown interface in short?
What is the main usage of keyword “virtual†? How does it work for a method or property?
Does c# support templates?
What is gac? What are the steps to create an assembly and add it to the gac?