Namespaces and folder structures in c# solutions: how should folders on disk be organised?

前端 未结 8 846
野趣味
野趣味 2021-02-04 06:26

First off, let’s agree that namespace should match folder structure and that each language artefact should be in its own file.

(see Should the folders in a solution ma

8条回答
  •  旧时难觅i
    2021-02-04 06:47

    I have always done the nested hierarchy. It makes it painfully obvious where to add new projects to an existing solution and keeps your namespaces nicely organized on disk. It also makes the deliniation of namespace versus project more obvious.

提交回复
热议问题