///Adds an using_namespace to the end of the using_namespaceArrayList.
///</summary>
///<param name="value">The using_namespace to be added to the end of the ArrayList. The value can be a null reference.<param>
///<returns>The using_namespaceArrayList index at which the value has been added.</returns>
publicintAdd(using_namespacevalue)
{
returnarr.Add(value);
}
///<summary>
///Adds the elements of an ICollection to the end of the using_namespaceArrayList
///</summary>
///<param name="c">The ICollection whose elements should be added to the end of the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
///Adds the elements of an using_namespace[] to the end of the using_namespaceArrayList
///</summary>
///<param name="array">The using_namespace[] whose elements should be added to the end of the ArrayList. The using_namespace[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
///<returns>Return value is void</returns>
publicvoidAddRange(using_namespace[]array)
{
arr.AddRange(array);
}
///<summary>
///Adds the elements of an using_namespaceArrayList to the end of the using_namespaceArrayList
///</summary>
///<param name="array_list">The using_namespaceArrayList whose elements should be added to the end of the ArrayList. The using_namespaceArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
///Uses a binary search algorithm to locate a specific element in the sorted using_namespaceArrayList or a portion of it.
///</summary>
///<param name="value">The Object to locate. The value can be a null reference.<param>
///<returns>The zero-based index of value in the sorted using_namespaceArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
publicintBinarySearch(using_namespacevalue)
{
returnarr.BinarySearch(value);
}
///<summary>
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
///</summary>
///<param name="value">The Object to locate. The value can be a null reference.<param>
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
///<returns>The zero-based index of value in the sorted using_namespaceArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
///</summary>
///<param name="index">The zero-based starting index of the range to search.<param>
///<param name="count">The length of the range to search.<param>
///<param name="value">The Object to locate. The value can be a null reference.<param>
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
///<returns>The zero-based index of value in the sorted using_namespaceArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
///<returns>A shallow copy of the using_namespaceArrayList.</returns>
publicvirtualobjectClone()
{
returnthis.clone();
}
///<summary>
///Determines whether an element is in the using_namespaceArrayList.
///</summary>
///<param name="item">The using_namespace to locate in the ArrayList. The value can be a null reference.<param>
///<returns>true if item is found in the using_namespaceArrayList; otherwise, false.</returns>
publicboolContains(using_namespaceitem)
{
returnarr.Contains(item);
}
///<summary>
///Searches for the specified using_namespace and returns the zero-based index of the first occurrence within the entire using_namespaceArrayList.
///</summary>
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
///<returns>The zero-based index of the first occurrence of value within the entire using_namespaceArrayList, if found; otherwise, -1.</returns>
publicintIndexOf(using_namespacevalue)
{
returnarr.IndexOf(value);
}
///<summary>
///Searches for the specified using_namespace and returns the zero-based index of the first occurrence within the section of the using_namespaceArrayList that extends from the specified index to the last element.
///</summary>
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
///<param name="startIndex">The zero-based starting index of the search.<param>
///<returns>The zero-based index of the first occurrence of value within the section of the using_namespaceArrayList that extends from startIndex to the last element, if found; otherwise, -1.</returns>
///Searches for the specified using_namespace and returns the zero-based index of the first occurrence within the section of the using_namespaceArrayList that starts at the specified index and contains the specified number of elements.
///</summary>
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
///<param name="startIndex">The zero-based starting index of the search.<param>
///<param name="count">The number of elements in the section to search.<param>
///<returns>The zero-based index of the first occurrence of value within the section of the ArrayList that starts at startIndex and contains count number of elements, if found; otherwise, -1.</returns>
///Inserts an element into the using_namespaceArrayList at the specified index.
///</summary>
///<param name="index">The zero-based index at which value should be inserted.<param>
///<param name="value">The using_namespace to insert. The value can be a null reference.<param>
///<returns>Return value is void</returns>
publicvoidInsert(intindex,using_namespacevalue)
{
arr.Insert(index,value);
}
///<summary>
///Inserts the elements of a using_namespace into the using_namespaceArrayList at the specified index.
///</summary>
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
///<param name="arr">The using_namespace[] whose elements should be inserted into the using_namespaceArrayList. The using_namespace[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
///Inserts the elements of a collection into the using_namespaceArrayList at the specified index.
///</summary>
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
///<param name="array_list">The using_namespaceArrayList whose elements should be inserted into the using_namespaceArrayList. The using_namespaceArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
///Inserts the elements of a collection into the using_namespaceArrayList at the specified index.
///</summary>
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
///<param name="value">The ICollection whose elements should be inserted into the using_namespaceArrayList. The collection itself cannot be a null reference, but it can contain elements that are a null reference.<param>
///Searches for the specified using_namespace and returns the zero-based index of the last occurrence within the entire using_namespaceArrayList.
///</summary>
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
///<returns>The zero-based index of the last occurrence of value within the entire the ArrayList, if found; otherwise, -1.</returns>
publicintLastIndexOf(using_namespacevalue)
{
returnarr.LastIndexOf(value);
}
///<summary>
///Searches for the specified using_namespace and returns the zero-based index of the last occurrence within the section of the using_namespaceArrayList that extends from the first element to the specified index.
///</summary>
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
///<param name="startIndex">The zero-based starting index of the backward search.<param>
///<returns>The zero-based index of the last occurrence of value within the section of the using_namespaceArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
///Searches for the specified using_namespace and returns the zero-based index of the last occurrence within the section of the using_namespaceArrayList that contains the specified number of elements and ends at the specified index.
///</summary>
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
///<param name="startIndex">The zero-based starting index of the backward search.<param>
///<param name="count">The number of elements in the section to search.<param>
///<returns>The zero-based index of the last occurrence of value within the section of the using_namespaceArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
///Gets or sets the element at the specified index.
///</summary>
///<param name="index">The zero-based index of the element to get or set.<param>
publicusing_namespacethis[intindex]
{
get
{
return((using_namespace)(arr[index]));
}
set
{
arr[index]=value;
}
}
///<summary>
///Removes the first occurrence of a specific object from the ArrayList.
///</summary>
///<param name="value">The using_namespace to remove from the ArrayList. The value can be a null reference.<param>
///<returns>Return value is void</returns>
publicvoidRemove(using_namespacevalue)
{
arr.Remove(value);
}
///<summary>
///Copies the elements of a collection over a range of elements in the using_namespaceArrayList.
///</summary>
///<param name="index">The zero-based using_namespaceArrayList index at which to start copying the elements of c.<param>
///<param name="c">The ICollection whose elements to copy to the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
///Gets the number of elements actually contained in the ArrayList.
///</summary>
publicintCount
{
get
{
returnarr.Count;
}
}
///<summary>
///Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.
///</summary>
///<param name="array">The one-dimensional Array that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
///<returns>Return value is void</returns>
publicvoidCopyTo(System.Arrayarray,intarrayIndex)
{
arr.CopyTo(array,arrayIndex);
}
///<summary>
///Copies the entire ArrayList to a compatible one-dimensional using_namespace[], starting at the specified index of the target array.
///</summary>
///<param name="array">The one-dimensional using_namespace[] that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
///Copies the entire using_namespaceArrayList to a compatible one-dimensional using_namespace[], starting at the beginning of the target array.
///</summary>
///<param name="array">The one-dimensional using_namespace[] that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
///<returns>Return value is void</returns>
publicvoidCopyTo(using_namespace[]array)
{
arr.CopyTo(array);
}
///<summary>
///Copies the entire ArrayList to a compatible one-dimensional using_namespace[], starting at the specified index of the target array.
///</summary>
///<param name="index">The zero-based index in the source ArrayList at which copying begins.<param>
///<param name="array">The one-dimensional using_namespace[] that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
///<param name="count">The number of elements to copy.<param>