Can you prevent your class from being inherited and becoming
a base class for some other classes?

Answer Posted / srivathsan

@ guest...
the answer is not incomplete.

it is implicit. Rakesh wants to tell that the sealed
methods cannot be inherited from a class that is not
sealed, even when you inherit other members from a class
that is not decorated with the keyword sealed.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use parameters in c#?

691


What is a copy constructor in c#?

710


What is the meaning of extention?

699


What are properties in C#?

722


Explain the importance and use of each, version, culture and publickeytoken for an assembly.

696


What is the use of console?

664


Is string a data type in c#?

657


Is c# code is unmanaged or managed code?

747


What is meant by collections in c#?

619


I want to print "Hello" even before main() is executed. How will you achieve that?

710


Is string immutable in c#?

762


What is data hiding in c#?

672


What are the Types of assemblies that can be created in dotnet

875


How many bytes is an int?

677


What is difference between array and arraylist c#?

671