use System.Windows.Forms class Program def main foo = LibraryProject.FooClass() csharp = CSharpLibraryProject.CameFromCSharp() print foo.typeOf.toString print foo.typeOf.toString