sealed class in C#

A sealed class in C# is a class that cannot be inherited by any class. The design intent of a sealed class is to indicate that the class is specialized and there is no need to extend it to provide any additional functionality through inheritance to override its behavior.
```
using System;  

sealed class Sealed { } 
class Sub : Sealed { } // `Sub': cannot derive from sealed type `Sealed'

class ClassMain {  
    static void Main(string[] args) { }  
}  
```