如下所示:
if(File.Exists(path)){// 是文件}else if(Directory.Exists(path)){// 是文件夹}else{// 都不是}
上一篇:mysql如何实现比较运算
下一篇:mysql中grant命令的作用是什么