using System.Windows.Forms; class Foo { public void Test() { MessageBox.Show( "Hello world from C#!" ) // Syntax error: Missing semicolon at the end of the code line } }