标签:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using System.IO; namespace ConsoleApplication9 { class Program { static void Main(string[] args) { string padh = Assembly.GetExecutingAssembly().Location; padh = Path.GetDirectoryName(padh); Console.WriteLine(Assembly.GetExecutingAssembly().Location); Console.WriteLine(Directory.GetParent(padh)); Console.ReadKey(); } } }
标签:
原文地址:http://www.cnblogs.com/xh0626/p/5095952.html