1.5

Table Of Contents
append
Boolean parameter that specifies whether the file pointer should initially be positioned at the
end of the existing file (append mode) or at the beginning of the file (overwrite mode).
Examples
OpenTextReader()
Function that opens a file as a text file for reading purposes.
OpenTextReader(filename,encoding)
Opens filename as a text file for reading purposes, using the encoding specified as a string
(UTF-8, ISO-8859-1, etc.). The function returns a TextReader object.
filename
String that represents the name of the file to open.
Examples
OpenTextWriter()
Function that opens a file as a text file for writing purposes.
OpenTextWriter(filename, encoding, append)
Opens filename as a text file for writing purposes, using the encoding specified as a string
(UTF-8, ISO-8859-1, etc.).
The function returns a TextWriter object.
filename
String that represents the name of the file to open.
append
Boolean parameter that specifies whether the file pointer should initially be positioned at the
end of the existing file (append mode) or at the beginning of the file (overwrite mode).
Page 235