Can you prevent your class from being inherited and becoming
a base class for some other classes?
Answer Posted / rakesh
We can also make the methods sealed.In that case ,the class
can inherit but the sealed methods in that class cannot
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is datetime immutable c#?
What is the wildcard character in sql?
Classes and structs can be declared as static, is this statement true or false?
How to find whether the application is run from inside ide or not?
Can abstract class have constructor?
What is web forms in c#?
What are callback methods in c#?
Are c# generics the same as c++ templates?
What is command object in c#?
Is c# a backend language?
What is the default scope of a class in c#?
Is inheritance possible in c sharp?
What is the difference between method and function in c#?
How do you remove white spaces from a string?
How does the clr work?