I had a situation where I was creating a key from concatenating a numerical id number and a string value which created a unique value.
Does it make a difference in the how Dictionary works, or hashtable density or are there any performance implications if the number is first or the string is first the key itself being a string?
for example:
Dictionary<string, bool> dict = new Dictionary<string, bool>();
dict.Add(integerValue + "-" + stringValue, true);
OR
Dictionary<string, bool> dict = new Dictionary<string, bool>();
dict.Add(stringValue + "-" + integerValue, true);