D
Dom
Teaching myself cSharp. In other languages (c++, etc), I generally
put important parameters into a single file. Then, if a module
requires those parameters, I "include" them in the module.
I have that same need in c#, but how is it done? All I can think of
is: Create a class with just consts, no attributes and no methods.
Then I use the const that I need with the namespace.class.const as a
field -- for example, nsParameters.Parameters.INITIALSTATE.
Is there a better way?
put important parameters into a single file. Then, if a module
requires those parameters, I "include" them in the module.
I have that same need in c#, but how is it done? All I can think of
is: Create a class with just consts, no attributes and no methods.
Then I use the const that I need with the namespace.class.const as a
field -- for example, nsParameters.Parameters.INITIALSTATE.
Is there a better way?