How to call one static method from another?

Konstantin Kutsevalov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 14 00:20:47 PDT 2016


May be my question was not enought clean...
this is example of code:

```
class ClassName {

     public static void function method1()
     {
         // do something
         // and now I need to call other static method
         ClassName.method2(); // What I can use insted of full 
class name?
         // Like "self.method2()"
     }

     public static void function method2()
     {
         //...
     }
}
```


More information about the Digitalmars-d-learn mailing list