Give yourself the competitive advantage you need with UTRGV online business programs. With several class start dates and affordable tuition, you can complete your business degree and be on your way to a more successful career in as few as 12 months.
As a result ArrayList is slower than LinkedList and the latter is preferred in case you need to perform insert and delete operations in the middle of a collection.LinkedList worked 200 times faster than ArrayList when 0.1 million elements were inserted at the start of the collection.
List<T> myList = new List<T>(); // T for data type. 1  Size varies as required. 2  Strictly type-safe. 3  Collection of elements of the same data type only.  Reverse, Contains, Sort and a few other useful methods are available that we don't get with 1  Arrays. Useful if you want to have the features of both Array and ArrayList.