What are Sealed Classes in C#?

Answer Posted / haja

Hello Guys this is Haja,

I think the question is "What are sealed classes in C#?"
not "WHAT IS SEALED CLASS IN C#?"

The answer is "Every attribute classes are sealed class like [WebMethod], [STAThread], [Serializable] and like these attribute classes...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where static variables are stored?

484


Is double a decimal?

526


What is meant by console programming?

487


If a child class instance is created, which class constructor is called first - base class or child class?

513


Can we extend sealed class in c#?

497






Differentiate between object pooling and connection pooling in c#?

558


Is c# used for frontend or backend?

595


What is an iqueryable in c#?

512


What is meant by collections in c#?

461


Explain the role of Garbage collector and its generations?

527


Is null in c#?

493


Explain more on CLR

759


Is list a collection c#?

548


Can we inherit class that contains only one private constructor?

528


Why reflection is used in c#?

504