I am completely new to c#, so please help me with the following problem.
I have an array list with some string elements.I want to edit/update a particular element at a particular index.
Can anyone please tell me a method, other than removing and then adding the edited element at the specific index?
Please find my try below[Changed the first element from "Black" to "Grey"]
ArrayList al = new ArrayList(){ "Black", "White", "Red"};
al.RemoveAt(0);
al.Insert(0,"Grey");
ArrayListanyway? It's deprecated in favour of the much betterList<T>