---
title: "What are sealed modifiers?"  
description: "What are sealed modifiers?"  
author: "Shikhar Arora"  
published: 2019-12-07  
canonical: https://answers.mindstick.com/qa/92542/what-are-sealed-modifiers  
category: "technology"  
tags: ["software engineering", "programming language"]  
reading_time: 1 minute  

---

# What are sealed modifiers?

What are sealed modifiers

## Answers

### Answer by Rahul Roi

![What are sealed modifiers?](https://answers.mindstick.com/questionanswer/8c0409f3-c5ff-4229-bd06-a290314e1fb1/images/f9a8161b-c56a-4cc8-92a8-bb7ab2b12ebe.jpeg)\

The [**sealed classes**](https://www.mindstick.com/forum/95344/what-is-sealed-class-in-c-sharp) are used to restrict the users from inheriting the class. Any class can be sealed by using the sealed keyword.When we use the sealed keyword with a method or class as an access modifier, the keyword tells the compiler that it is a method or class seal, and therefore, cannot be extended. No any class can be derived from a sealed class.

Whenever we will use sealed keyword (modifiers) in C# on a method, then that method loses their capabilities of overriding. That is the sealed method should be part of a derived class and the method must be an overridden method. ![What are sealed modifiers?](https://answers.mindstick.com/questionanswer/8c0409f3-c5ff-4229-bd06-a290314e1fb1/images/2fddcda1-fbae-4394-8e95-1d55ae679d0a.jpeg)\


---

Original Source: https://answers.mindstick.com/qa/92542/what-are-sealed-modifiers

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
