ya, but many books doesn't tell the fact. They does n't even tell about the
newline . A reader only came to know about it through the sample programs
On Thu, Nov 6, 2008 at 5:58 PM, Glenn <[EMAIL PROTECTED]> wrote:
> The carriage return IS going to the beginning of the first line. The the
> linefeed (\n) is being added which takes it to the second line. Of course,
> hard coding newline characters (\n or \r\n) is BAD practice. As Cerebrus
> suggested, you should always using Environment.Newline to ensure that you
> are getting the correct values. This also applies to other environment
> values.
>
> By all of your posts, it seems that you don't have a basic understanding of
> the language that you are using. I would suggest starting with a tutorial
> to better understand the language before you dive into the code. Or, you
> could just start attending class!
>
> ...Glenn
>
> On Thu, Nov 6, 2008 at 1: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
>>
>
--
My Web Site
http://everlovingyouth.googlepages.com
My Technical Blog
http://acutedeveloper.blogspot.com
Skype :santhoshnta
Orkut :everlovingyouth