欢迎来到飞鸟慕鱼博客,开始您的技术之旅!
当前位置: 首页知识笔记正文

Title: About namespace

墨初 知识笔记 75阅读

Namespace {using bclassa {publicstaticvoidmain () {b.btestb=newb.b (); testB .show(); }}} namespace b {using system class b {public void show () {system. console. WriteLine(' fromeb。 b . show’); }}} Why can't you make it up! Is there a difference between using it in a namespace and putting it outside a namespace? But why use the system; It doesn't matter where it is.

标签:
声明:无特别说明,转载请标明本文来源!