Hi,
I am trying to work out a way to group a collection of items like an enum so that I can access them through code else where in my program.
i.e I have list of items and sub items
G1Level1
I would then like to be able to access then like: G1Level1.Leve2.Leve3
Would anyone be able to advise if this is possible or achievable.
Thanks
Regards..
Peter
I am trying to work out a way to group a collection of items like an enum so that I can access them through code else where in my program.
i.e I have list of items and sub items
G1Level1
Level2
Level2
Level3
G2Level1
Level2
Level3
Level3
G3Level1
Level2
Level2
Level3
Level4
Level2
etc..I would then like to be able to access then like: G1Level1.Leve2.Leve3
Would anyone be able to advise if this is possible or achievable.
Thanks
Regards..
Peter