LinkedList(T el1, T el2, Args… els)
Constructs a list with at least two elements
Parameters
el1- the first element of the new listel2- the second element of the listels- as many extra elements as you want, however each argument must be convertible to T
Example
LinkedList<int> list = LinkedList<int>(3, 4, 5, 6, 7, 8);
//list now holds 3, 4, 5, 6, 7, and 8