using 名称空间指定一个别名
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using reflector = System.Reflection; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { reflector::Assembly assembly = reflector.Assembly.GetExecutingAssembly(); Console.WriteLine(assembly.Location); Console.ReadKey(); } } }