文件名称:UseDirectory
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-04-22
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- hpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用C#怎么创建文件和文件夹?这是一个完整的源码实例,你只需在文本框中输入文件夹的路径和名称,点击“创建”按钮,即可创建一个文件夹,程序的实现过程:判断输入的文件夹名称是否为空,然后使用Directory类的Exists方法判断要创建的文件夹是否存在,再使用Directory类的CreateDirectory方法创建文件夹,最后给出创建成功的提示。这是一个适合C#新手参考的基础FSO操作实例。-Using C# how to create files and folders? This is a complete source code examples, you need to in the text box, enter the path and name of the folder, click on the " Create" button, you can create a folder, the implementation process of the program: to determine the input folder name is empty, and then use the Exists method of the Directory class to determine To create a folder exists, and then use the Directory class CreateDirectory create a folder, and finally gives create success tips. This is a suitable C# novice reference basis FSO operation instance.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UseDirectory\UseDirectory\Form1.cs
............\............\Form1.designer.cs
............\............\Form1.resx
............\............\Program.cs
............\............\...perties\AssemblyInfo.cs
............\............\..........\Resources.Designer.cs
............\............\..........\Resources.resx
............\............\..........\Settings.Designer.cs
............\............\..........\Settings.settings
............\............\UseDirectory.csproj
............\UseDirectory.sln
............\UseDirectory.suo
............\............\Properties
............\UseDirectory
UseDirectory