public void AddRange(
IEnumerable<T> collection
)Public Sub AddRange (
collection As IEnumerable(Of T)
)public:
virtual void AddRange(
IEnumerable<T>^ collection
) sealedabstract AddRange :
collection : IEnumerable<'T> -> unit
override AddRange :
collection : IEnumerable<'T> -> unit If the length of the CircularListT is n and the length of the collection to insert is m, then this method has O(m) cost.
If capacity increase is needed (considering actual list size) the cost is O(Max(n, m)).
| ArgumentNullException | collection must not be . |