4.using System.Diagnostics;
5.
6.namespace test01
7.{
8. class Program
9. {
10. private string _sFilePath;
11. public Program(string sFilePath)
12. {
13. _sFilePath = sFilePath;
14. }
15. public void GetFileVersion()
16. {
17. Regex regex = new Regex(@"\\");
18. string[] arrTemp = regex.Split(_sFilePath);
19. String sFilePathNew = null;
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/