Create a StreamWriter and initialize it in a "using" block. The "using" block will dispose of the object and close the file when you're done.

Specify the filename, whether or not you want to append or overwrite an existing file with the same name, and the appropriate encoding (ASCII in this case.)

Then use WriteLine() to write your text to the file.