That's not the meaning of static in that context.
As I understand a static class can't be instantiated.

The above is useful in nested classes.
I just read it. Holy s.. cow.

Instead you can use:

class Test
{
static:
    void foo() { }
}

So in mine case if I want purely static class I need to use:

static Test
{
  static void foo();
}

right?

Reply via email to