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 the use of static members with example using c#.net.
Why is it called c sharp?
what is IEquatable
What is an object pool in .net?
Is int a class in c#?
What is using keyword?
What is the use of table aliases?
What is thread in c#?
Explain states of a thread in c#?
How to get the sum of last 3 items in a list using lambda expressions?
What is the difference between select and selectmany?
How do you concatenate in c#?
Do we get an error while executing the “finally” block in c#?
What are anonymous types in c#?
What is the difference between int16 and int32 in c#?