How to make a class not inheritable other than sealed?
Answer Posted / rasik bihari
I don't agree with this (Answer # 1) as Making the class as
private will prevent it from even being initialized or
instantiated. I don't have the answer myself :-)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why c# is type safe?
What is a private method in c#?
How do I unload an assembly?
What is difference between function and method in c#?
What is attribute c#?
Why extension method is static?
How to find type of variable?
What is a c# delegate?
How can you prevent escaping on backslashes in C# with string definitions?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
What is trim in c#?
What is a nullreferenceexception and how do I fix it?
Why do we need generics in c#?
What is .cshtml file?