Invalid Code class Foo { public void bar () { } } void main () { var foo = new Foo.bar (); }