System.Collections.ArrayList.ArrayListAdapter.InsertRange C# (CSharp) Method

InsertRange() public method

public InsertRange ( int index, ICollection c ) : void
index int
c ICollection
return void
			public override void InsertRange(int index, ICollection c) 
			{
				if (c == null) 
				{
					throw new ArgumentNullException("c");
				}

				if (index > m_Adaptee.Count) 
				{
					ThrowNewArgumentOutOfRangeException ("index", index,
						"Index must be >= 0 and <= Count.");
				}

				foreach (object value in c) 
				{
					m_Adaptee.Insert(index++, value);
				}
			}