A static class is a class that cannot be instantiated and contains only static data members. It is a collection of utility or helper methods that can be called directly by the class name itself without creating an instance of the class.
![CSharp-static-class](https://www.shekhali.com/wp-content/uploads/2022/12/Static-class-in-CSharp.png)
A static class is a class that cannot be instantiated and contains only static data members. It is a collection of utility or helper methods that can be called directly by the class name itself without creating an instance of the class.