and if we use using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication74
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("This is First Line \r and This is Second");
            Console.ReadKey();
        }
    }
}


            Console.Write("This is First Line \r\n and This is Second");
if we use \n here as I have inserted \n in the upper code then the output
comes
This is First Line
 and This is Second

what is the mystery that \r is creating here

Reply via email to