Namespace conflict in C#

后端 未结 4 642
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 15:05

There is a System namespace inside my program\'s namespace. And as a result I can\'t see the standard System namespace from within mine. How can I

4条回答
  •  攒了一身酷
    2020-12-15 15:50

    For more convenience, you can give it an alias, too:

    using GSystem = global::System;
    

    Will allow you to refer to the global System namespace as GSystem or whatever else you would like to call it.

提交回复
热议问题