using 关键字 using 关键字表明程序使用的是给定命名空间中的名称。例如,我们在程序中使用 System 命名空间,其中定义了类 Console。我们可以只写: Console.WriteLine ("Hello there"); 也可以写完全限定名称,如下: System.Console.WriteLine("Hello there");