Best practice for organizing Constant

  • Thread starter Thread starter Ethan V
  • Start date Start date
E

Ethan V

I have about 50 string constants that I put all of them in one file. I find
that it's too un-organized because I have to intellisense thru lots of
unrelated constant to get to the one I want. Is there a best practice for
organizing constant? Please share with me your thoughts and experiences.

Thanks so much in advance.
 
create a seperate class for each group of related constants. this will give
a nice dot notation. you can still use one file.


-- bruce (sqlwork.com)
 
Back
Top