I am using:
File.Exists(filepath)
What I would like to do is swop this out for a pattern, because the first part of the filename changes.
For example: the file could be
01_peach.xml
02_peach.xml
03_peach.xml
How can I check if the file exists based on some kind of search pattern?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…