using System; static class Foo1{}class Foo2{} public class Test{ public static void Main() { new Foo1(); new Foo2(); }}
Standard input is empty
prog.cs(10,3): error CS0712: Cannot create an instance of the static class `Foo1' prog.cs(3,14): (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!