Thursday, 31 March 2016

Write a sample code to write the contents to text file in C#?

Below is the sample code to write the contents to text file –
Using System.IO;
File.WriteAllText(”mytextfilePath”, “MyTestContent”)

No comments:

Post a Comment