there is any way to do something like that
List<Myclass> classlist = new List<Myclass>();
Myclass * item = &classlist.ElementAt(0);
and when i change a value in item, is changed in the list item too?
ex:
item.name = “changedme”;
and when i access to the classlist.ElementAt(0).name, the value is “changedme” ???
thanks
Assuming that
Classis really a class and not a struct, all you have to do is: