Shortcuts

Best way to Store many values

i need to create constant values which will used for processing from which sorted list should be constructed,which is the best way to store these values and as well as can i store these values in separate class file and access.

Re: Best way to Store many values

Unclear. It looks like an array of arrays (and still it seems to be always the same values, not sure how "constant" is it supposed to be or will you change the content of those arrays later). If you want to define an array content once for all it could perhaps a
readonly array.

Else it's likely best to just explain your final goal rather than just the technical need (which is even quite obscur to me for now).

Re: Best way to Store many values

My end goal is store the value which should not be changed by anyone and i need to be storing 288 values with 6*8 combination that is why i given that values and the values will be changing and i will retrieve those values for processing .

in your c# solution you can have your static class in a separate project.

if you are going to use the values in many different solutions you can compile your static class as a separate class library (.dll file) and reference it from each solution that uses it.

TIMTOWTDI ... if your values can change periodically, you might even consider storing them is a database table or XML file and load the values dynamically at the beginning of your programs that use those values.

end edit 2.

B-) Gerry Lowry, Chief Training Architect, Paradigm Mentors Learning never ends... +1 705-999-9195 wasaga beach, ontario canada TIMTOWTDI =.there is more than one way to do it