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 c# queue thread safe?
What is the difference between read and readline in c#?
What is the difference between convert and parse in c#?
Difference between value and reference type.
How long does it take to get a loop recorder put in?
What do you mean by sealed classes and static classes?
How do you prevent a method from being overridden in c#?
Why do we use static class in c#?
Can abstract class have private constructor c#?
How big is an int in c#?
What is the difference between parse and tryparse in c#?
In a single .NET DLL how many classes it contains?
What do you know about WM_CHAR message?
What are the types of access modifiers?
What is the purpose of the integer parse method the decimal parse method?