How can we main a Class as base class,i.e not inherited
further?{please Dont tell using Sealed class,any other way}
Answer Posted / palash
Very Simple....
Create one private Constructor inside the class then we are
not create any object of that class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is default parameter in c#?
What does console readline do?
What is difference between var dynamic and object in c#?
How to exclude a property from xml serialization?
What is local function?
Is list immutable in c#?
Why do we need delegates?
Can a method be sealed in c#?
What is dll hell, and how does .net solve it?
what is collections in .net? why we use?
What is a Command Object in C#?
What operator means?
What is the main method in c#?
What is difference between variable and property in c#?
Define xslt.