Is there anything built into System.IO.Path
that gives me just the filepath?
For example, if I have a string
@"c:webserverpublicmyCompanyconfigspromo.xml",
is there any BCL method that will give me
"c:webserverpublicmyCompanyconfigs"?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…