At the first time access of any member of static class, object is created. Now for every member, same object will be accessed.
Static class does not inherit from any other class. It is inherited from Object class. We cannot make object of a static class. Note that there is static constructor in static classes by default.
public static class MyStaticClass { public static int Id{get;set;} public static string GetMessage() { return "Welcome to omerjaved.com"; } }
Static properties and static methods are accessed using class name instead of object.