更新时间:2021-09-23 06:26:44
这是一种查看该文件夹中是否存在任何 XML 文件的方法,是的.
This is a way to see if any XML-files exists in that folder, yes.
要检查特定文件,请使用 File.Exists(path)
,它将返回一个布尔值,指示path
处的文件是否存在.
To check for specific files use File.Exists(path)
, which will return a boolean indicating wheter the file at path
exists.