namespace naming conventions

后端 未结 2 2195
礼貌的吻别
礼貌的吻别 2020-11-27 03:03

For those of you out there writing reusable components, what do you consider to be best practice if you\'re extending the functionality of the .NET framework?

For ex

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-27 03:26

    Also have a look at following MSDN article for guidelines about naming Namespaces

    Names of Namespaces

    The name chosen for a namespace should indicate the functionality made available by types in the namespace. For example, the System.Net.Sockets namespace contains types that enable developers to use sockets to communicate over networks.

    The general format for a namespace name is as follows:

    .(|)[.][.]

    For example, Microsoft.WindowsMobile.DirectX.

提交回复
热议问题