Any collection that can store Objects and allows access to items via name (besides index) will do for you. As Kaarthik mentioned, an ArrayList or List are good examples of such a collection.
On Dec 9, 4:22 pm, "Edgard Matos" <[EMAIL PROTECTED]> wrote: > Hi, > > Do you know how to create dinamic properties in C# Objects? > > In JavaScript I create like this: > *var obj = new Object();* > *obj["propOne"] = "test";* > *obj["propTwo"] = new Array();* > > I need to access directly properties using Object["prop"] > How do I do this with C#? > > Very thanks! > > Edgard Matos > E-mail: [EMAIL PROTECTED]
