---
title: "difference between static and singleton class"  
description: "difference between static and singleton class"  
author: "Pawan Shukla"  
published: 2017-11-13  
canonical: https://answers.mindstick.com/qa/30452/difference-between-static-and-singleton-class  
category: "programming"  
tags: ["c#", ".net programming", "asp.net mvc", "asp.net"]  
reading_time: 1 minute  

---

# difference between static and singleton class

[difference](https://www.mindstick.com/blog/398/difference-between-object-type-and-var-type) between [static](https://www.mindstick.com/articles/12098/the-static-keyword-the-static-methods) and [singleton](https://www.mindstick.com/blog/10912/java-singleton-pattern) class.

## Answers

### Answer by Arti Mishra

## Difference between static class and Singleton class

## Static Class:

1. You can’t **create the instance (object)** of static class. And it is directly accessible by using the class name. 2. Static class, **loaded automatically** by the .NET Framework.3. Static Class **can’t contain any type of constructor.** 4. You cannot pass the static class to a method. 5. It **can’t be inherited** by another Static class. \
**Singleton Class**1. In Singleton class, you can **create the instance of the class** and reuse it. 2. When user request, then an instance of singleton class is created. 3. Singleton class can **contain different type of constructor.** 4. You can **create the object of singleton class** and pass it to a method. 5. The singleton class **follows the all concept of Inheritance.** \


---

Original Source: https://answers.mindstick.com/qa/30452/difference-between-static-and-singleton-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
