This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
.NET Framework Class Library
File..::.WriteAllText Method
Creates a new file, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten.

See Also