com.calitha.commons.IntegerList.InsertRange C# (CSharp) Method

InsertRange() public method

Inserts the elements of the other integer list into the list at the specified index.
public InsertRange ( int index, IntegerList other ) : void
index int The zero-based index at which the new elements should be inserted.
other IntegerList The other list whose elements should be inserted into the list.
return void
		public void InsertRange(int index, IntegerList other)
		{
			for (int i = 0; i < other.Count; i++)
			{
				list[index+i] = other[i];
			}
		}