Tekkaman

导航

 

C# File API

1、System.IO.File

  Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of FileStream objects. 

  

  1)File.CreateText

    Creates or opens a file for writing UTF-8 encoded text. If the file already exists, its contents are overwritten.

    

2、

3、

4、

5、

6、

7、

posted on 2019-04-26 11:23  Tekkaman  阅读(344)  评论(0编辑  收藏  举报