Should the folders in a solution match the namespace?

后端 未结 7 852
予麋鹿
予麋鹿 2020-12-02 06:05

Should the folders in a solution match the namespace?

In one of my teams projects, we have a class library that has many sub-folders in the project.

Project

7条回答
  •  情歌与酒
    2020-12-02 06:46

    What's the standard?

    There is no official standard but conventionally the folder-to-namespace mapping pattern is most widely used.

    In class libraries do the folders usually match the namespace structure or is it a mixed bag?

    Yes, in most class libraries the folders match the namespace for organizational ease.

提交回复
热议问题