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
How long can loop recorders stay in?
Why we use anonymous methods in c#?
What are regular expressions? Search a string using regular expressions?
What are the Types of values mode can hold session state in web.config
What is the purpose of ienumerable in c#?
Which controls do not have events?
What is delegates and events?
Define delegate?
Is there a way to force garbage collection?
What is datagridview in c#?
What is the ouput of the following program?
What does int32 mean in c#?
Where do we set the min and max pool size for connection pooling?
Is stringbuilder better than string?
Is string immutable in c#?