I have been searching around the internet for a few questions I have on the List<T> class with no success.
1. how do you edit the last item in your list
2. how do you edit a specific items value, every time i do it says you cannot edit a return value. i simply do this list[item].x = 2;
3. how do you iterate through a list, with out using foreach because i need to edit the iterating variable
4. this is part of the 1st question and the 3rd but what is a lists equivalent to an arrays length property.
thank you for any help you provide