Creating a text file
daniva System.IO.File class provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects.
The CreateText method creates or opens a file for writing UTF-8 encoded text.
The following example demonstrates some of the main members of the File class.





Recent Comments