I pretty sure I'm an idiot.

[code]
class foo {
        public static int bar() {
                return 0;
        }
}
[/code]

How do I call bar() without creating an instance of foo? foo.bar() results in "Error: undefined identifier 'bar'"

I'm having a really hard time finding anything related to D in general.

Reply via email to