In version 2.4 / 4.4, you can create root classes in LINQPad by defining the NONEST character (in C # Program mode):
#define NONEST void Main() { typeof (Foo).FullName.Dump();
If you define a static class (which C # does not allow fo to be nested), you do not need the NONEST character - LINQPad will automatically retrieve your nested class.
source share