Hi Baskar!
Please have a closer look at
"[C#] public StreamWriter(string, bool);"
that constructor has the function:
"Initializes a new instance of the StreamWriter class for the specified
file on the specified path, using the default encoding and buffer size.
If the file exists, it can be either overwritten or appended to. If the
file does not exist, this constructor creates a new file."
The second parameter of type bool is named "append":
"Determines whether data is to be appended to the file. If the file
exists and append is false, the file is overwritten. If the file exists
and append is true, the data is appended to the file. Otherwise, a new
file is created."
I am sorry, that I forgot to point you to that constructor in the page.
With kind regards,
Konrad