Click here to Skip to main content
15,921,660 members
Home / Discussions / C#
   

C#

 
GeneralGetting a ConfigurationException and I dont know why Pin
Flack28-Jun-04 6:18
Flack28-Jun-04 6:18 
GeneralRe: Getting a ConfigurationException and I dont know why Pin
Heath Stewart28-Jun-04 6:25
protectorHeath Stewart28-Jun-04 6:25 
GeneralRe: Getting a ConfigurationException and I dont know why Pin
Flack28-Jun-04 6:35
Flack28-Jun-04 6:35 
Questionhow to retrieve the ProductCode? Pin
econnor28-Jun-04 6:15
econnor28-Jun-04 6:15 
AnswerRe: how to retrieve the ProductCode? Pin
Heath Stewart28-Jun-04 6:21
protectorHeath Stewart28-Jun-04 6:21 
GeneralRe: how to retrieve the ProductCode? Pin
econnor29-Jun-04 3:53
econnor29-Jun-04 3:53 
GeneralEnumerations (design question) Pin
mealnumberone28-Jun-04 5:44
mealnumberone28-Jun-04 5:44 
GeneralRe: Enumerations (design question) Pin
Heath Stewart28-Jun-04 6:33
protectorHeath Stewart28-Jun-04 6:33 
It actually doesn't matter: there's no notion of source files when you compile (only in a PDB - programming database - which is used for debugging and is not typically generated for release builds).

Personally, I either define an enum in the class's source file that uses it if it's the only place where it's used, or have a file in my project just for enums used throughout the namespace for that project. You could use a separate source file, though; like I said, it really doesn't matter.

Use whatever organization makes sense to you, unless you're in a team environment; then the team must decide what works best for them.

The only real recommendations that the Visual Studio .NET and .NET Framework SDK docs assert is naming conventions. Read Design Guidelines for Class Library Developers[^] in the .NET Framework SDK for more information.

 

Microsoft MVP, Visual C#
My Articles
Questionneed to send within the current connection ..? Pin
Adel83k28-Jun-04 5:18
Adel83k28-Jun-04 5:18 
AnswerRe: need to send within the current connection ..? Pin
Heath Stewart28-Jun-04 6:29
protectorHeath Stewart28-Jun-04 6:29 
GeneralWindows Service App Pin
japanreddy28-Jun-04 4:37
japanreddy28-Jun-04 4:37 
GeneralRe: Windows Service App Pin
Heath Stewart28-Jun-04 4:55
protectorHeath Stewart28-Jun-04 4:55 
GeneralRe: Windows Service App Pin
Xiangyang Liu 刘向阳28-Jun-04 5:17
Xiangyang Liu 刘向阳28-Jun-04 5:17 
GeneralFolderBrowserDialog external machine selection Pin
fozzwald28-Jun-04 4:29
fozzwald28-Jun-04 4:29 
GeneralRe: FolderBrowserDialog external machine selection Pin
Heath Stewart28-Jun-04 4:46
protectorHeath Stewart28-Jun-04 4:46 
GeneralProblem with EnvDTE Pin
Johan Van Antenaeken28-Jun-04 4:25
Johan Van Antenaeken28-Jun-04 4:25 
GeneralDynamic Create Class Pin
savaskulah28-Jun-04 4:07
savaskulah28-Jun-04 4:07 
GeneralRe: Dynamic Create Class Pin
Heath Stewart28-Jun-04 4:28
protectorHeath Stewart28-Jun-04 4:28 
GeneralCreation of DLL library Pin
Ronald Boucher28-Jun-04 3:41
sussRonald Boucher28-Jun-04 3:41 
GeneralRe: Creation of DLL library Pin
Serge Lobko-Lobanovsky28-Jun-04 4:19
Serge Lobko-Lobanovsky28-Jun-04 4:19 
GeneralRe: Creation of DLL library Pin
Heath Stewart28-Jun-04 4:22
protectorHeath Stewart28-Jun-04 4:22 
GeneralRe: Creation of DLL library Pin
Ronald Boucher28-Jun-04 6:41
sussRonald Boucher28-Jun-04 6:41 
QuestionDoubleClick a TreeView Node? Pin
j1e1g128-Jun-04 3:08
j1e1g128-Jun-04 3:08 
AnswerRe: DoubleClick a TreeView Node? Pin
Nick Parker28-Jun-04 3:41
protectorNick Parker28-Jun-04 3:41 
AnswerRe: DoubleClick a TreeView Node? Pin
Dave Kreskowiak28-Jun-04 3:43
mveDave Kreskowiak28-Jun-04 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.