Well, list.Insert(0, obj) – but that has to move everything. If you need to be able to insert at the start efficiently, consider a Stack<T> or a LinkedList<T>
Well, list.Insert(0, obj) – but that has to move everything. If you need to be able to insert at the start efficiently, consider a Stack<T> or a LinkedList<T>