Invalid Code delegate void FooFunc (); class Foo { } void main () { var foo = new Foo (); }