c# path 获取

String Path = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf(“\\”)).LastIndexOf(“\\”));
Path += @”\1.bmg”;

String Path2 = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf(“\\”)).LastIndexOf(“\\”));
Path2 += @”\1.bmg”;

分类:

发表评论

邮箱地址不会被公开。