How can you prevent classes to be inherited?
Answer Posted / nitin kumar tomar
just make the class sealed like
sealed public class classname
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain the 3 types of properties in c# with an example?
What is list array in c#?
What is dictionary collection in c#?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
What is the symbol used for in c#?
What is satellite assembly? And steps to create satellite assembly?
What is a delegate? How can it works?
Is stringbuilder faster than string concatenation c#?
What does the keyword “virtual†declare for a method or property?
Explain the advantage of using system.text.stringbuilder over system.string?
How to add a readonly property in c#.net
Explain the types of comments in c#?
How can I get the ascii code for a character in c#?
How do you achieve polymorphism in c#?
What are concrete classes?