On 2/17/13, Michael <[email protected]> wrote:
> Why members of static class are not implicitly static?
>
> static class Test
> {
>   void foo() {}
> }
>

That's not the meaning of static in that context. The above is useful
in nested classes.

Instead you can use:

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

Reply via email to