日期:2014-05-18 浏览次数:21055 次
namespace fabulous { //code in fabulous namespace } namespace super { namespace smash { //great name defined } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _3._5._1 { class Program { static void Main(string[] args) { namespace fabulous { using s1 = super.smashing; Console.WriteLine("{0}",s1.great); } namespace super { namespace smashing { int great = 10; } } } } }