C# program to print a multiline Hello World!

Views: 159   

Following program shows you how to print a multiline Hello World!.
In this program we use \n for multi lines

using System;

class MainClass {
  public static void Main (string[] args) {
    Console.WriteLine ("Hello \nWorld!");
  }
}

Output:

Hello 
World!
On By