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
Difference between call by value and call by reference in C#?
What is a method signature c#?
What is a linked list c#?
How many types of delegates are there in c#?
What are satellite assemblies?
Why do we need to override in c#?
What is transparent caching with aop ?
What are the different types of classes in c#?
What is a multi line comment?
What is data type in c# with example?
How do switch statements work?
Explain different properties of object oriented systems.
Is var a data type?
What is the main purpose of xml?
How do you create empty strings in c#?