what write and writeLine method does?

Last post 05-16-2008 7:27 PM by mbanavige. 1 replies.

Sort Posts:

  • what write and writeLine method does?

    05-16-2008, 6:07 PM
    • Loading...
    • maxmax
    • Joined on 06-06-2007, 3:39 AM
    • DotNet
    • Posts 361

    I am developing asp.net web applications and I am creating .txt file using this on server

    tell me what write and writeLine does? what is the difference between both of them?

    thank u

    maxmax

  • Re: what write and writeLine method does?

    05-16-2008, 7:27 PM
    Answer
    • Loading...
    • mbanavige
    • Joined on 11-06-2003, 8:29 AM
    • New England, USA
    • Posts 7,424
    • Moderator
      TrustedFriends-MVPs

    writeline includes a newline while write does not.

    multiple writes will write to the same line (no crlf) while multiple writelines will create multiple lines

    Mike Banavige
    ~~~~~~~~~~~~
    Dont forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Page 1 of 1 (2 items)