How can get object from a list<> with a int index?
List<BasicLow> _list = new List<BasicLow>();
int positionInList=0; //for example from position zero!
BasicLow aux = new BasicLow();
aux = _list.**WHAT I PUT HERE?**
Thanks!
EDIT
Thanks but i try this(aux = _list[positionInlist];)! give me a error “Index was out of range. Must be non-negative and less than the size of the collection.”
But i has assurance the positionInlist exist on _list!
Try