//compiles and runs successfully using System; public class GFG { static public void Main() { Console.WriteLine("Hello World!"); } }