vs.net编程技巧

1.获取程序的运行目录的方法:
using System.Reflection;
using System.IO;
Assembly asm=Assembly.GetExecutingAssembly();
string AppPath=Path.GetDirectoryName(asm.Location);
原文地址:https://www.cnblogs.com/Donal/p/350472.html