how to save text in textfile

get the text from input field and save into text file that text file already created in resources folder…if i used streamwriter it will be create new text file in resources,

you could use:

using (StreamWriter sw = File.AppendText ("c:\	emp\\SaveWorld.ssf")) {
		sw.Write ("This Text i Want to write in the File")
}

the Append text Means that you write to the End of the File and open the File c:\ emp\SaveWorld.ssf