In Windows operating systems, a newline is officially defined as a
"Carriage return + a Newline". Therefore, the correct way to enforce a
newline would be "\r\n". However the best way (if you are interested
in writing platform agnostic code) is always to use the
Environment.Newline constant.
On Nov 6, 11:20 am, "VIKAS GARG" <[EMAIL PROTECTED]> wrote:
> > But if I use
>
> > Console.Write("This is First Line \r\n and This is Second");
>
> Then the output comes
> This is First Line
> and This is Second
>
> If \r take the carriage to the first line then
> it should carry "and This is Second" To the first line
> Here why the carriage not going to first line