using System.Windows.Forms; class Foo { public void Test() { MessageBox.Show( "Hello world from C#!" ); } }