It's a very common pattern called a singleton, where there is only ever one instance of an object created. Google "Singleton pattern", and you'll find lots of stuff about it, but the basic formula is what you have there.
class MyClass {
private MyClass();
private static MyClass _instance = null;
public static MyClass TheInstance {
get {
if (_instance == null)
_instance = new MyClass();
return _instance;
}
}
...
}
MyClass.TheInstance.SomeMethod();
var value = MyClass.TheInstance.SomeProperty;