Given a string, how do I generate a .txt file containing such st开发者_如何学JAVAring?
Use File.WriteAllText
File.WriteAllText(filePath, StringToWrite)
Given a string, how do I generate a .txt file containing such st开发者_如何学JAVAring?
Use File.WriteAllText
File.WriteAllText(filePath, StringToWrite)
精彩评论