Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / umesh
Yes, just leave the class public and make the method sealed.
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
How does dll hell solve in .net?
Why do we use interface in c#?
What is callback delegate in c#?
Define boxing and unboxing in c#?
What are desktop applications examples?
Explain the difference between Metadata and Manifest
What is sorting in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
explain Garbage collector’s functionality on unmanaged code
Explain briefly the difference between value type and reference type?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is difference between float and integer?
write a C# Program add two matrix ?
What is ControlBox Propertie
What is the difference between static class and abstract class in c#?