---
title: "what is the sealed class in c#?"  
description: "what is the sealed class in c#?"  
author: "Manasavi Rajpoot"  
published: 2010-11-26  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/269/what-is-the-sealed-class-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# what is the sealed class in c#?

A sealed class cannot be inherited. It is an error to use a sealed class as a base class. Use the **sealed** modifier in a class declaration to prevent inheritance of the class.

## Answers

### Answer by Amit Singh

Sealed class is a class which can’t inherited any more. “Sealed” keyword is used to make class Sealed. So, once we define a class using Sealed that can’t be inherited.

### Answer by Manasavi Rajpoot

A sealed class cannot be inherited. It is an error to use a sealed class as a base class. Use the **sealed** modifier in a class declaration to prevent inheritance of the class.


---

Original Source: https://www.mindstick.com/interview/269/what-is-the-sealed-class-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
