Displaying one line of text with multiple statements. - CSharp Language Basics

CSharp examples for Language Basics:Console

Description

Displaying one line of text with multiple statements.

Demo Code

using System;//from ww  w .j  a v  a 2s .co m
class Welcome2
{
   static void Main()
   {
      Console.Write("Welcome to ");
      Console.WriteLine("C# Programming!");
   }
}

Result


Related Tutorials