创建文件夹System.IO.Directory.Exists(CreateDirectory)

判断文件夹不存在的时候,创建文件夹; 调用System.IO. 创建代码如下: //获取基目录,它由程序集冲突解决程序用来探测程序集。 string strSystemPath = System.AppDomain.CurrentDomain.BaseDirectory + “image\”; if (!System.IO.Directory.Exists(strSystemPath)) { Sy
相关文章
相关标签/搜索