Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / guest
Yes, just leave the class public and make the method sealed.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are sessions in c#?
Is null in c#?
What is part of a method signature in c#?
How to reduce image resolution in C#?
What is tochararray in c#?
How do I calculate relative time?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
What is using keyword in C#?
What are the fundamental oop concepts?
What are tuples c#?
What is expandoobject in c#?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
Is c# substring zero based?
Why do we write system in c#?
How you will create satellite assemblies?