My goal is a little mix between the lists and enum.
Example when I create a list:
List<string> toto= new List<string>;
toto.add("test1");
toto.add("test2");
==>but it's not possible to call "test1" like this: toto.test1
With the enum it's possible like this:
public enum toto{
test,test2
}
but it's not possible of create dynamic an enum in terms of string
an idea for my problem?
Thank for your help