System.IO.File.WriteAllText("filename.txt", "This file contains a string.")