기본 콘텐츠로 건너뛰기

라벨이 namespace인 게시물 표시

C# Namespace Naming Guidelines

The general rule for naming namespaces is to use the company name followed by the technology name and optionally the feature and design as follows. CompanyName.TechnologyName[.Feature][.Design] For example: Microsoft.Media Microsoft.Media.Design Prefixing namespace names with a company name or other well-established brand avoids the possibility of two published namespaces having the same name. For example,  Microsoft.Office  is an appropriate prefix for the Office Automation Classes provided by Microsoft. Use a stable, recognized technology name at the second level of a hierarchical name. Use organizational hierarchies as the basis for namespace hierarchies. Name a namespace that contains types that provide design-time functionality for a base namespace with the  .Design  suffix. For example, the  System.Windows.Forms.Design Namespace  contains designers and related classes used to design  System.Windows.Forms...