How to make a class non-inheritable other than sealed?
Answer Posted / divya
if we use private constructor we cant make an instance of the class, but still we can inherit it
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
Define a strong name in .net?
What is private class in c#?
What are the fundamental principles of oo programming?
What is the diff between System.String and System.Text.StringBuilder classes?
What is private and shared assembly?
Can we override constructor in c#?
Why do we override in c#?
What is _layout cshtml?
What are the properties of string?
What is the purpose of c#?
What is collection class c#?
Difference between StackPanel and RelativePanel ?
Can list contain duplicates c#?
Explain what are the steps for creating clr trigger?
What is the default value of singleordefault?