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

前端 未结 8 761
野趣味
野趣味 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条回答
  •  渐次进展
    2021-02-04 06:35

    "First off, let’s agree that namespace should match folder structure and that each language artifact [sic] should be in its own file."

    Funny, that's how packages work in Java. I always thought that breaking the link between namespaces and directory structure was considered one of the improvements that C# introduced. Is that not true? (Forgive my ignorance, I'm a Java person.)

提交回复
热议问题