---
title: "How many types of classes are in C# OOPs programming?"  
description: "How many types of classes are in C# OOPs programming?"  
author: "Ravi Vishwakarma"  
published: 2021-08-23  
updated: 2021-08-23  
canonical: https://www.mindstick.com/forum/156693/how-many-types-of-classes-are-in-c-sharp-oops-programming  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How many types of classes are in C# OOPs programming?

How many types of classes are in C# [OOPs programming](https://www.mindstick.com/forum/156694/how-many-types-of-constructors-are-in-c-sharp-oops-programming)?

## Replies

### Reply by Ashutosh Kumar Verma

## Types of class-

Generally, there are 4 different types of classes are used in c# [programming](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming) language.

1- **Abstract class -** is created by using 'abstract' keyword.

ex- public abstract class Test

{

// statements of the class.

}

2- **Static class** - is created by using 'static' keyword.

ex- public static class Test

{

// statements of this class

}

3- **Partial class-** is created by using 'partial' keyword.

public partial class Test

{

//statements of this class

}

4- **Sealed class-** is created by using 'sealed' keyword.

public sealed class Test

{

//statements of this class

}


---

Original Source: https://www.mindstick.com/forum/156693/how-many-types-of-classes-are-in-c-sharp-oops-programming

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
