namespace,解决类重名问题,就是文件夹。 using,引入其他类。 使用.net的类System.Collections.ArrayList 快速引入的方法,右键→解析。 using System; using System.Collections.Generic; using System.Text; using 命名空间.hr; using System.Collections;//如果要使用不是同一个命名空间下面的类,要using namespace 命名空间 { class Program { static void Main(string[] args) { Person p = new Person(); 命名空间.hr.Person p2 = new 命名空间.hr.Person(); //就像文件的全路径一样,这样麻烦,用using Chinese c = new Chinese(); ArrayList al = new ArrayList(); Console.ReadKey(); } } class Person { } }