Inheriting a sealed class
Is there any way to inherit a sealed class?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sanjeeb LenkaPosted Jul 8, 2013, 12:45 AM
http://www.c-sharpcorner.com/UploadFile/mahesh/SealedClasses11142005063733AM/SealedClasses.aspx
Jignesh TrivediPosted Jul 7, 2013, 11:55 PM
Hi,
As per my knowledge, Sealed class is internally design in such a way that you can not inheriting other classes from sealed class.
why you required this?
can you please provide more details so that we can provide you alternative...
Iftikar HussainPosted Jul 7, 2013, 11:55 PM
No. Sealed Class can't be inherited. It is used to prevent derivation from a class. Always declare a new class as sealed until you are writing an abstract class or a class which must be inherited per design.
For more information please check the below link
http://msdn.microsoft.com/en-us/library/ms173150(v=vs.80).aspx
Regards,
Iftikar