C# Ques and Answers
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment