Namespaces and subnamespaces in C#

前端 未结 8 1050
鱼传尺愫
鱼传尺愫 2021-01-19 07:23

begginers question about C#.

In every program I have to include several namespaces, like:

using System;
using System.Collections.Generic;
using Syste         


        
8条回答
  •  孤独总比滥情好
    2021-01-19 07:40

    Because nested namespaces are not included with parent one. See using directive documentation for details

    A using directive does not give you access to any namespaces that are nested in the namespace you specify.

提交回复
热议问题