C# File API

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、

扫描二维码关注公众号,回复: 6023913 查看本文章

6、

7、

猜你喜欢

转载自www.cnblogs.com/tekkaman/p/10773284.html