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
What is the use of table aliases?
What is a web service in c#?
What does mean before a string in c#?
How do I convert a string to an int in c#?
What does an indexer do?
Explain the difference between event and a delegate in c#?
Explain the types of comments in c#?
What is the difference between finalize() and dispose()?
What is the default boolean value in c#?
What does console writeline do?
Does a class need a constructor c#?
What is the purpose of private constructor in c#?
What can I create with c#?
Is c# good for web development?
What is an abstract class c#?