P
psychopif
I have a list of strings each represented by a number. I want those
string to be constant and put as litle hit as I can on the performance
of my application. The strings are mutualy exclusive, juste like an
Enum. I would use the Enum, but my string contains special caracter
and spaces. I would use a dictionary, but then the string could be
changed at runtime and it would add unnecesary overhead to my
application.
What would be the best solution?
string to be constant and put as litle hit as I can on the performance
of my application. The strings are mutualy exclusive, juste like an
Enum. I would use the Enum, but my string contains special caracter
and spaces. I would use a dictionary, but then the string could be
changed at runtime and it would add unnecesary overhead to my
application.
What would be the best solution?