C#之程序路径
FileSystem.AppDataDirectory
AppContext.BaseDirectory
System.Environment.CurrentDirectory
System.Windows.Forms.Application.StartupPath;
System.Windows.Forms.Application.ExecutablePath;
System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName; (本来这个只是名字,结果fullName也可以当成路径功能)
System.IO.Directory.GetCurrentDirectory();
this.GetType().Assembly.Location;