如何引用静态类来调用方法呢? [重复]

This question already has an answer here:

Is there any equivalent keyword in C# to reference the class from within itself on static method calls, without using the proper class name?

The PHP equivalent would be self.

</div>

If it happens inside the class, you don't need to use reference. Just using the method/property name will work, since it is in the current scope. If it is in another class, then it's not SELF, so you need to use the classname.