Skip to main content
17 events
when toggle format what by license comment
Mar 31, 2022 at 22:58 history became hot network question
Mar 31, 2022 at 21:02 comment added Filip Milovanović While namespaces do help avoid naming conflicts, you can use them for more than that - they are a tool to organize code and can serve to indicate large-grained logical components and/or layers, or otherwise separate code that's at different levels of abstraction. As for why VS automatically matches namespaces with the folder stricture, I would guess that this comes from the way Java does things (C# was initially rather similar to Java, and borrowed many ideas from it). Unlike Java, though, C# and VS do not enforce this.
Mar 31, 2022 at 20:36 answer added JacquesB timeline score: 2
Mar 31, 2022 at 20:20 comment added Rik D I agree with @JacquesB. The quote is taken out of context; it’s a framework design guideline and only applicable within the context of ‘application models’. Bricelam explains here what Microsoft’s definition for application model is.
Mar 31, 2022 at 20:18 vote accept Josiah_Maddux
Mar 31, 2022 at 20:03 answer added John Wu timeline score: 8
Mar 31, 2022 at 19:21 answer added Martin Maat timeline score: 0
Mar 31, 2022 at 19:21 history reopened mmathis
JacquesB
Martin Maat
Mar 31, 2022 at 18:18 comment added JacquesB Note that these guidelines are for developing class libraries like the .net BCL, not necessarily for application code. An "application model" roughly means a framework like windows forms, WPF, asp.net etc.
Mar 31, 2022 at 15:47 comment added Josiah_Maddux @mmathis That's a fair point, and a good edit, I accepted it.
S Mar 31, 2022 at 15:36 review Reopen votes
Mar 31, 2022 at 19:27
S Mar 31, 2022 at 15:36 history edited mmathis CC BY-SA 4.0
Align title with the question asked in the body, which is answerable and on-topic for this site Added to review
Mar 31, 2022 at 15:33 comment added mmathis The question asked by the title is a bit different than the question asked in the body. The title question is unanswerable, but the body question is not and is on topic here. I edited and flagged for re-opening
Mar 31, 2022 at 15:32 history closed Greg Burghardt
gnat
Doc Brown
Opinion-based
Mar 31, 2022 at 14:51 review Close votes
S Mar 31, 2022 at 15:34
S Mar 31, 2022 at 14:21 review First questions
S Mar 31, 2022 at 15:34
S Mar 31, 2022 at 14:21 history asked Josiah_Maddux CC BY-SA 4.0