C# static class

tutorial and example
tutorial and example

In C#, static class is the one which can only contain static members. It can’t be instantiated. It cannot be inherited. It can only have static constructors and cannot contain instance constructors. You don’t need a private constructor to avoid instantiation if your class is static.

C# static class Example:

Output