Can you prevent your class from being inherited and
becoming a base class for some other classes?
Answer Posted / dhanunjaya
yes,By using a keyword called "sealed".a sealed class can
never be a base class for any class,it is the bottom most
class in a class hierarchy.......so it cant be be base
class further more....
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are expressions c#?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
When To use HashTable In C#
What is a helper method in c#?
Can a static class have a constructor c#?
Define boxing and unboxing in c#?
What is the difference between proc. Sent by val and by sub?
What are the commonly used i/o classes?
How can you sort strings in array that are passed to method as arguments?
Can constructor be private c#?
What is the default modifier for class in c#?
What is throw in c#?
What is the purpose of constructor in c#?
What are the types of assembly available
What is tpl in c#?