Hi,
I need to perform some operations on string, like add a string, remove and search.
the values which i need to use is a compination of section name and sub section name (Both are string). I got three suggestion how to do this one in C#. (both section name and SubSection name of length 50 characters, and the max number of this combination is 500)
1. Use List<string> (to store we can use string concatenation)
2. Use StringBuilder (Concatenate and use append)
3. Use List<string,string> (save individual strings)
Which one will give a better performance and memory management. Can any one please suggest the best choice from above.
Am using C# with Framework 2.0
Thanks in Advance,
Nidheesh