C# program to demonstrate example of Console.Write() and Console.WriteLine()

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Collections;

using System.Threading;

using System.IO;


namespace StockTracker

{

    class AkbTechie

     {

            static void Main(string[] args)

                {

                    Console.WriteLine("This is line1");

                    Console.WriteLine("This is line2");

                    Console.Write("This is line3");

                    Console.Write("This is line4");           

                    Console.ReadKey();           

                }

    }

}


//output :-

//This is line1

//This is line2

//This is line3This is line4

एक टिप्पणी भेजें

0 टिप्पणियाँ