Friday, January 8, 2010
Write a single line of code to create a text file and write contents into it.
Use following code
System.IO.File.WriteAllText(@"c:\MyTextFile.txt", "MyContents");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment