﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ArrayList" FullName="System.Collections.ArrayList" FullNameSP="System_Collections_ArrayList" Maintainer="ecma"><TypeSignature Language="ILASM" Value=".class public serializable ArrayList extends System.Object implements System.ICloneable, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList" /><TypeSignature Language="C#" Value="public class ArrayList : ICloneable, System.Collections.IList" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit ArrayList extends System.Object implements class System.Collections.ICollection, class System.Collections.IEnumerable, class System.Collections.IList, class System.ICloneable" /><MemberOfLibrary>BCL</MemberOfLibrary><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadingSafetyStatement>This class is safe for multiple readers and no concurrent writers.</ThreadingSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Collections.IList</InterfaceName></Interface><Interface><InterfaceName>System.ICloneable</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Diagnostics.DebuggerDisplay("Count={Count}")</AttributeName></Attribute><Attribute><AttributeName>System.Diagnostics.DebuggerTypeProxy(typeof(System.Collections.CollectionDebuggerView))</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><example><para> The following example shows how to create, initialize, and display the values of a <see cref="T:System.Collections.ArrayList" />.</para><code lang="C#">using System; 
using System.Collections; 

public class SamplesArrayList { 

  public static void Main() { 

  // Create and initialize a new ArrayList. 
  ArrayList myAL = new ArrayList(); 
  myAL.Add("Hello"); 
  myAL.Add("World"); 
  myAL.Add("!"); 

  // Display the properties and values of the ArrayList. 
  Console.WriteLine( "myAL" ); 
  Console.WriteLine( "Count: {0}", myAL.Count ); 
  Console.WriteLine( "Capacity: {0}", myAL.Capacity ); 
  Console.Write( "Values:" ); 
  PrintValues( myAL ); 
  } 

public static void PrintValues( IEnumerable myList ) { 

  IEnumerator myEnumerator = myList.GetEnumerator(); 
  while ( myEnumerator.MoveNext() ) 
    Console.Write( " {0}", myEnumerator.Current ); 
    Console.WriteLine(); 
  } 
}
</code><para>The output is </para><para><c>
   myAL</c></para><para><c>Count: 3 </c></para><para><c>Capacity: 16 </c></para><para><c>Values: Hello World !</c></para></example><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For a strongly-typed alternative to <see cref="T:System.Collections.ArrayList" />, consider using <see cref="T:System.Collections.Generic.List`1" />. <see cref="T:System.Collections.ArrayList" /> may not always offer the best performance for a given task. See the "Performance Considerations" section in the <see cref="T:System.Collections.Generic.List`1" /> reference topic for a discussion of the relative performance of these classes.</para><para>The <see cref="T:System.Collections.ArrayList" /> is not guaranteed to be sorted.  You must sort the <see cref="T:System.Collections.ArrayList" /> prior to performing operations (such as <see cref="Overload:System.Collections.ArrayList.BinarySearch" />) that require the <see cref="T:System.Collections.ArrayList" /> to be sorted.</para><para>The capacity of an <see cref="T:System.Collections.ArrayList" /> is the number of elements the <see cref="T:System.Collections.ArrayList" /> can hold. As elements are added to an <see cref="T:System.Collections.ArrayList" />, the capacity is automatically increased as required through reallocation. The capacity can be decreased by calling <see cref="M:System.Collections.ArrayList.TrimToSize" /> or by setting the <see cref="P:System.Collections.ArrayList.Capacity" /> property explicitly.</para><para>For very large <see cref="T:System.Collections.ArrayList" /> objects, you can increase the maximum capacity to 2 billion elements on a 64-bit system by setting the enabled attribute of the <format type="text/html"><a href="5c7ea24a-39ac-4e5f-83b7-b9f9a1b556ab">gcAllowVeryLargeObjects</a></format> configuration element to true in the run-time environment.</para><para>Elements in this collection can be accessed using an integer index.  Indexes in this collection are zero-based.</para><para>The <see cref="T:System.Collections.ArrayList" /> collection accepts null as a valid value, allows duplicate elements. </para><para>Using multidimensional arrays as elements in an <see cref="T:System.Collections.ArrayList" /> collection is not supported.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Implements the <see cref="T:System.Collections.IList" /> interface using an array whose size is dynamically increased as required.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" /><MemberSignature Language="C#" Value="public ArrayList ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The capacity of an <see cref="T:System.Collections.ArrayList" /> is the number of elements that the <see cref="T:System.Collections.ArrayList" /> can hold. As elements are added to an <see cref="T:System.Collections.ArrayList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.ArrayList" />.</para><para>This constructor is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class that is empty and has the default initial capacity.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName=".ctor"><MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Collections.ICollection c)" /><MemberSignature Language="C#" Value="public ArrayList (System.Collections.ICollection c);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.ICollection c) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="c" Type="System.Collections.ICollection" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="c" /> is <see langword="null" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The capacity of an <see cref="T:System.Collections.ArrayList" /> is the number of elements that the <see cref="T:System.Collections.ArrayList" /> can hold. As elements are added to an <see cref="T:System.Collections.ArrayList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.ArrayList" />.</para><para>The elements are copied onto the <see cref="T:System.Collections.ArrayList" /> in the same order they are read by the <see cref="T:System.Collections.IEnumerator" /> of the <see cref="T:System.Collections.ICollection" />.</para><para>This constructor is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements in <paramref name="c" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.</para></summary><param name="c"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ICollection" /> whose elements are copied to the new list. </param></Docs><Excluded>0</Excluded></Member><Member MemberName=".ctor"><MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(int32 capacity)" /><MemberSignature Language="C#" Value="public ArrayList (int capacity);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 capacity) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="capacity" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="capacity" /> &lt; 0.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The capacity of an <see cref="T:System.Collections.ArrayList" /> is the number of elements that the <see cref="T:System.Collections.ArrayList" /> can hold. As elements are added to an <see cref="T:System.Collections.ArrayList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.ArrayList" />.</para><para>This constructor is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="capacity" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class that is empty and has the specified initial capacity.</para></summary><param name="capacity"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements that the new list can initially store. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Adapter"><MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList Adapter(class System.Collections.IList list)" /><MemberSignature Language="C#" Value="public static System.Collections.ArrayList Adapter (System.Collections.IList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ArrayList Adapter(class System.Collections.IList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.IList" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="list" /> is <see langword="null" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="M:System.Collections.ArrayList.Adapter(System.Collections.IList)" /> does not copy the contents of <see cref="T:System.Collections.IList" />. Instead, it only creates an <see cref="T:System.Collections.ArrayList" /> wrapper around <see cref="T:System.Collections.IList" />; therefore, changes to the <see cref="T:System.Collections.IList" /> also affect the <see cref="T:System.Collections.ArrayList" />.</para><para>The <see cref="T:System.Collections.ArrayList" /> class provides generic <see cref="M:System.Collections.ArrayList.Reverse" />, <see cref="M:System.Collections.ArrayList.BinarySearch(System.Int32,System.Int32,System.Object,System.Collections.IComparer)" /> and <see cref="M:System.Collections.ArrayList.Sort" /> methods. This wrapper can be a means to use those methods on <see cref="T:System.Collections.IList" />; however, performing these generic operations through the wrapper might be less efficient than operations applied directly on the <see cref="T:System.Collections.IList" />.</para><para>This method is an O(1) operation.</para><format type="text/html"><h2>Version Compatibility</h2></format><para>In the .NET Framework version 1.0 and 1.1, calling the <see cref="M:System.Collections.ArrayList.GetEnumerator(System.Int32,System.Int32)" /> method overload on the <see cref="T:System.Collections.ArrayList" /> wrapper returned an enumerator that treated the second argument as an upper bound rather than as a count. In the dnprdnlong the second argument is correctly treated as a count.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates an <see cref="T:System.Collections.ArrayList" /> wrapper for a specific <see cref="T:System.Collections.IList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> wrapper around the <see cref="T:System.Collections.IList" />.</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IList" /> to wrap.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Add"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 Add(object value)" /><MemberSignature Language="C#" Value="public virtual int Add (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Add(object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Collections.ArrayList" /> accepts null as a valid value and allows duplicate elements.</para><para>If <see cref="P:System.Collections.ArrayList.Count" /> already equals <see cref="P:System.Collections.ArrayList.Capacity" />, the capacity of the <see cref="T:System.Collections.ArrayList" /> is increased by automatically reallocating the internal array, and the existing elements are copied to the new array before the new element is added.</para><para>If <see cref="P:System.Collections.ArrayList.Count" /> is less than <see cref="P:System.Collections.ArrayList.Capacity" />, this method is an O(1) operation. If the capacity needs to be increased to accommodate the new element, this method becomes an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds an object to the end of the <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> index at which the <paramref name="value" /> has been added.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to be added to the end of the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="AddRange"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void AddRange(class System.Collections.ICollection c)" /><MemberSignature Language="C#" Value="public virtual void AddRange (System.Collections.ICollection c);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddRange(class System.Collections.ICollection c) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="c" Type="System.Collections.ICollection" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="c" /> is <see langword="null" />.</exception><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Collections.ArrayList" /> accepts null as a valid value and allows duplicate elements.</para><para>The order of the elements in the <see cref="T:System.Collections.ICollection" /> is preserved in the <see cref="T:System.Collections.ArrayList" />.</para><para>If the new <see cref="P:System.Collections.ArrayList.Count" /> (the current <see cref="P:System.Collections.ArrayList.Count" /> plus the size of the collection) will be greater than <see cref="P:System.Collections.ArrayList.Capacity" />, the capacity of the <see cref="T:System.Collections.ArrayList" /> is increased by automatically reallocating the internal array to accommodate the new elements, and the existing elements are copied to the new array before the new elements are added.</para><para>If the <see cref="T:System.Collections.ArrayList" /> can accommodate the new elements without increasing the <see cref="P:System.Collections.ArrayList.Capacity" />, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements to be added. If the capacity needs to be increased to accommodate the new elements, this method becomes an O(<paramref name="n" /> + <paramref name="m" />) operation, where <paramref name="n" /> is the number of elements to be added and <paramref name="m" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the elements of an <see cref="T:System.Collections.ICollection" /> to the end of the <see cref="T:System.Collections.ArrayList" />.</para></summary><param name="c"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ICollection" /> whose elements should be added to the end of the <see cref="T:System.Collections.ArrayList" />. The collection itself cannot be null, but it can contain elements that are null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="BinarySearch"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 BinarySearch(object value)" /><MemberSignature Language="C#" Value="public virtual int BinarySearch (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 BinarySearch(object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><exception cref="T:System.ArgumentException"><para><paramref name="value" /> is not assignment-compatible with at least one element in the current instance.</para></exception><exception cref="T:System.InvalidOperationException"><para> Both <paramref name="value" /> and at least one element involved in the search of the current instance do not implement the <see cref="T:System.IComparable" /> interface.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="value" /> parameter and each element of the <see cref="T:System.Collections.ArrayList" /> must implement the <see cref="T:System.IComparable" /> interface, which is used for comparisons. The elements of the <see cref="T:System.Collections.ArrayList" /> must already be sorted in increasing value according to the sort order defined by the <see cref="T:System.IComparable" /> implementation; otherwise, the result might be incorrect.</para><para>Comparing null with any type is allowed and does not generate an exception when using <see cref="T:System.IComparable" />. When sorting, null is considered to be less than any other object.</para><para>If the <see cref="T:System.Collections.ArrayList" /> contains more than one element with the same value, the method returns only one of the occurrences, and it might return any one of the occurrences, not necessarily the first one.</para><para>If the <see cref="T:System.Collections.ArrayList" /> does not contain the specified value, the method returns a negative integer. You can apply the bitwise complement operation (~) to this negative integer to get the index of the first element that is larger than the search value. When inserting the value into the <see cref="T:System.Collections.ArrayList" />, this index should be used as the insertion point to maintain the sort order.</para><para>This method is an O(log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches the entire sorted <see cref="T:System.Collections.ArrayList" /> for an element using the default comparer and returns the zero-based index of the element.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of <paramref name="value" /> in the sorted <see cref="T:System.Collections.ArrayList" />, if <paramref name="value" /> is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ArrayList.Count" />.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="BinarySearch"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 BinarySearch(object value, class System.Collections.IComparer comparer)" /><MemberSignature Language="C#" Value="public virtual int BinarySearch (object value, System.Collections.IComparer comparer);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 BinarySearch(object value, class System.Collections.IComparer comparer) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /><Parameter Name="comparer" Type="System.Collections.IComparer" /></Parameters><Docs><exception cref="T:System.ArgumentException"><para><paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is not assignment-compatible with at least one element in the current instance.</para></exception><exception cref="T:System.InvalidOperationException"><para><paramref name="comparer" /> is <see langword="null" />, and both <paramref name="value" /> and at least one element involved in the search in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The comparer customizes how the elements are compared. For example, you can use a <see cref="T:System.Collections.CaseInsensitiveComparer" /> instance as the comparer to perform case-insensitive string searches.</para><para>If <paramref name="comparer" /> is provided, the elements of the <see cref="T:System.Collections.ArrayList" /> are compared to the specified value using the specified <see cref="T:System.Collections.IComparer" /> implementation. The elements of the <see cref="T:System.Collections.ArrayList" /> must already be sorted in increasing value according to the sort order defined by <paramref name="comparer" />; otherwise, the result might be incorrect.</para><para>If <paramref name="comparer" /> is null, the comparison is done using the <see cref="T:System.IComparable" /> implementation provided by the element itself or by the specified value. The elements of the <see cref="T:System.Collections.ArrayList" /> must already be sorted in increasing value according to the sort order defined by the <see cref="T:System.IComparable" /> implementation; otherwise, the result might be incorrect.</para><para>Comparing null with any type is allowed and does not generate an exception when using <see cref="T:System.IComparable" />. When sorting, null is considered to be less than any other object.</para><para>If the <see cref="T:System.Collections.ArrayList" /> contains more than one element with the same value, the method returns only one of the occurrences, and it might return any one of the occurrences, not necessarily the first one.</para><para>If the <see cref="T:System.Collections.ArrayList" /> does not contain the specified value, the method returns a negative integer. You can apply the bitwise complement operation (~) to this negative integer to get the index of the first element that is larger than the search value. When inserting the value into the <see cref="T:System.Collections.ArrayList" />, this index should be used as the insertion point to maintain the sort order.</para><para>This method is an O(log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches the entire sorted <see cref="T:System.Collections.ArrayList" /> for an element using the specified comparer and returns the zero-based index of the element.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of <paramref name="value" /> in the sorted <see cref="T:System.Collections.ArrayList" />, if <paramref name="value" /> is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ArrayList.Count" />.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate. The value can be null. </param><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="BinarySearch"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 BinarySearch(int32 index, int32 count, object value, class System.Collections.IComparer comparer)" /><MemberSignature Language="C#" Value="public virtual int BinarySearch (int index, int count, object value, System.Collections.IComparer comparer);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 BinarySearch(int32 index, int32 count, object value, class System.Collections.IComparer comparer) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /><Parameter Name="value" Type="System.Object" /><Parameter Name="comparer" Type="System.Collections.IComparer" /></Parameters><Docs><exception cref="T:System.ArgumentException"><para><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> &lt; <paramref name="count" />.</para><para>-or-</para><para><paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is not assignment-compatible with at least one element in the current instance.</para></exception><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><paramref name="count" /> &lt; 0.</exception><exception cref="T:System.InvalidOperationException"><para><paramref name="comparer" /> is <see langword="null" />, and both <paramref name="value" /> and at least one element involved in the search of the current instance do not implement the <see cref="T:System.IComparable" /> interface.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The comparer customizes how the elements are compared. For example, you can use a <see cref="T:System.Collections.CaseInsensitiveComparer" /> instance as the comparer to perform case-insensitive string searches.</para><para>If <paramref name="comparer" /> is provided, the elements of the <see cref="T:System.Collections.ArrayList" /> are compared to the specified value using the specified <see cref="T:System.Collections.IComparer" /> implementation. The elements of the <see cref="T:System.Collections.ArrayList" /> must already be sorted in increasing value according to the sort order defined by <paramref name="comparer" />; otherwise, the result might be incorrect.</para><para>If <paramref name="comparer" /> is null, the comparison is done using the <see cref="T:System.IComparable" /> implementation provided by the element itself or by the specified value. The elements of the <see cref="T:System.Collections.ArrayList" /> must already be sorted in increasing value according to the sort order defined by the <see cref="T:System.IComparable" /> implementation; otherwise, the result might be incorrect.</para><para>Comparing null with any type is allowed and does not generate an exception when using <see cref="T:System.IComparable" />. When sorting, null is considered to be less than any other object.</para><para>If the <see cref="T:System.Collections.ArrayList" /> contains more than one element with the same value, the method returns only one of the occurrences, and it might return any one of the occurrences, not necessarily the first one.</para><para>If the <see cref="T:System.Collections.ArrayList" /> does not contain the specified value, the method returns a negative integer. You can apply the bitwise complement operation (~) to this negative integer to get the index of the first element that is larger than the search value. When inserting the value into the <see cref="T:System.Collections.ArrayList" />, this index should be used as the insertion point to maintain the sort order.</para><para>This method is an O(log <paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches a range of elements in the sorted <see cref="T:System.Collections.ArrayList" /> for an element using the specified comparer and returns the zero-based index of the element.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of <paramref name="value" /> in the sorted <see cref="T:System.Collections.ArrayList" />, if <paramref name="value" /> is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ArrayList.Count" />.</para></returns><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the range to search. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The length of the range to search. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate. The value can be null. </param><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Capacity"><MemberSignature Language="ILASM" Value=".property int32 Capacity { public hidebysig virtual specialname int32 get_Capacity() public hidebysig virtual specialname void set_Capacity(int32 value) }" /><MemberSignature Language="C#" Value="public virtual int Capacity { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 Capacity" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><value><para> A <see cref="T:System.Int32" /> that specifies the number of elements that the current instance
   is capable of storing.</para></value><exception cref="T:System.ArgumentOutOfRangeException"><see cref="P:System.Collections.ArrayList.Capacity" /> is set to a value that is less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="P:System.Collections.ArrayList.Capacity" /> is the number of elements that the <see cref="T:System.Collections.ArrayList" /> can store. <see cref="P:System.Collections.ArrayList.Count" /> is the number of elements that are actually in the <see cref="T:System.Collections.ArrayList" />.</para><para><see cref="P:System.Collections.ArrayList.Capacity" /> is always greater than or equal to <see cref="P:System.Collections.ArrayList.Count" />. If <see cref="P:System.Collections.ArrayList.Count" /> exceeds <see cref="P:System.Collections.ArrayList.Capacity" /> while adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.</para><para>The capacity can be decreased by calling <see cref="M:System.Collections.ArrayList.TrimToSize" /> or by setting the <see cref="P:System.Collections.ArrayList.Capacity" /> property explicitly. When the value of <see cref="P:System.Collections.ArrayList.Capacity" /> is set explicitly, the internal array is also reallocated to accommodate the specified capacity.</para><para>Retrieving the value of this property is an O(1) operation; setting the property is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the new capacity.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the number of elements that the <see cref="T:System.Collections.ArrayList" /> can contain.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Clear"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Clear()" /><MemberSignature Language="C#" Value="public virtual void Clear ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="P:System.Collections.ArrayList.Count" /> is set to zero, and references to other objects from elements of the collection are also released.</para><para><see cref="P:System.Collections.ArrayList.Capacity" /> remains unchanged.  To reset the capacity of the <see cref="T:System.Collections.ArrayList" />, call <see cref="M:System.Collections.ArrayList.TrimToSize" /> or set the <see cref="P:System.Collections.ArrayList.Capacity" /> property directly. Trimming an empty <see cref="T:System.Collections.ArrayList" /> sets the capacity of the <see cref="T:System.Collections.ArrayList" /> to the default capacity.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all elements from the <see cref="T:System.Collections.ArrayList" />.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Clone"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual object Clone()" /><MemberSignature Language="C#" Value="public virtual object Clone ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Clone() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A shallow copy of a collection copies only the elements of the collection, whether they are reference types or value types, but it does not copy the objects that the references refer to. The references in the new collection point to the same objects that the references in the original collection point to.</para><para>In contrast, a deep copy of a collection copies the elements and everything directly or indirectly referenced by the elements.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a shallow copy of the <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A shallow copy of the <see cref="T:System.Collections.ArrayList" />.</para></returns></Docs><Excluded>0</Excluded></Member><Member MemberName="Contains"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual bool Contains(object item)" /><MemberSignature Language="C#" Value="public virtual bool Contains (object item);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Contains(object item) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="item" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether an element is in the <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="item" /> is found in the <see cref="T:System.Collections.ArrayList" />; otherwise, false.</para></returns><param name="item"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="CopyTo"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void CopyTo(class System.Array array)" /><MemberSignature Language="C#" Value="public virtual void CopyTo (Array array);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(class System.Array array) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Array" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException"><para><paramref name="array" /> has more than one dimension.</para><para>-or-</para><para><see cref="P:System.Collections.ArrayList.Count" /> of the current instance &gt; <paramref name="array" />.Length.</para></exception><exception cref="T:System.InvalidCastException">At least one element in the current instance is not assignment-compatible with the type of <paramref name="array" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The specified array must be of a compatible type.</para><para>This method uses <see cref="Overload:System.Array.Copy" /> to copy the elements.</para><para>The elements are copied to the <see cref="T:System.Array" /> in the same order in which the enumerator iterates through the <see cref="T:System.Collections.ArrayList" />.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the entire <see cref="T:System.Collections.ArrayList" /> to a compatible one-dimensional <see cref="T:System.Array" />, starting at the beginning of the target array.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.ArrayList" />. The <see cref="T:System.Array" /> must have zero-based indexing. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="CopyTo"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void CopyTo(class System.Array array, int32 arrayIndex)" /><MemberSignature Language="C#" Value="public virtual void CopyTo (Array array, int arrayIndex);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(class System.Array array, int32 arrayIndex) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Array" /><Parameter Name="arrayIndex" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="arrayIndex" /> &lt; 0.</exception><exception cref="T:System.ArgumentException"><para><paramref name="array" /> has more than one dimension.</para><para>-or-</para><para><paramref name="arrayIndex" /> &gt;= <paramref name="array" />.Length.</para><para>-or-</para><para><paramref name="arrayIndex" /> + <see cref="P:System.Collections.ArrayList.Count" /> of the current instance &gt; <paramref name="array" />.Length.</para></exception><exception cref="T:System.InvalidCastException">At least one element in the current instance is not assignment-compatible with the type of <paramref name="array" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The specified array must be of a compatible type.</para><para>This method uses <see cref="Overload:System.Array.Copy" /> to copy the elements.</para><para>The elements are copied to the <see cref="T:System.Array" /> in the same order in which the enumerator iterates through the <see cref="T:System.Collections.ArrayList" />.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the entire <see cref="T:System.Collections.ArrayList" /> to a compatible one-dimensional <see cref="T:System.Array" />, starting at the specified index of the target array.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.ArrayList" />. The <see cref="T:System.Array" /> must have zero-based indexing. </param><param name="arrayIndex"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="CopyTo"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void CopyTo(int32 index, class System.Array array, int32 arrayIndex, int32 count)" /><MemberSignature Language="C#" Value="public virtual void CopyTo (int index, Array array, int arrayIndex, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(int32 index, class System.Array array, int32 arrayIndex, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="array" Type="System.Array" /><Parameter Name="arrayIndex" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0. </para><para>-or-</para><para><paramref name="arrayIndex" /> &lt; 0.</para><para>-or-</para><para><paramref name="count" /> &lt; 0. </para></exception><exception cref="T:System.ArgumentException"><para><paramref name="array" /> has more than one dimension.</para><para>-or-</para><para><paramref name="index" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance .</para><para>-or-</para><para><paramref name="count" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" />.</para><para>-or-</para><para><paramref name="count" /> &gt;= <paramref name="array" />.Length - <paramref name="arrayIndex" />.</para></exception><exception cref="T:System.InvalidCastException">At least one element of the current instance is not assignment-compatible with the type of <paramref name="array" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The specified array must be of a compatible type.</para><para>This method uses <see cref="Overload:System.Array.Copy" /> to copy the elements.</para><para>The elements are copied to the <see cref="T:System.Array" /> in the same order in which the enumerator iterates through the <see cref="T:System.Collections.ArrayList" />.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies a range of elements from the <see cref="T:System.Collections.ArrayList" /> to a compatible one-dimensional <see cref="T:System.Array" />, starting at the specified index of the target array.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in the source <see cref="T:System.Collections.ArrayList" /> at which copying begins. </param><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.ArrayList" />. The <see cref="T:System.Array" /> must have zero-based indexing. </param><param name="arrayIndex"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements to copy. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Count"><MemberSignature Language="ILASM" Value=".property int32 Count { public hidebysig virtual specialname int32 get_Count() }" /><MemberSignature Language="C#" Value="public virtual int Count { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 Count" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><value><para> A <see cref="T:System.Int32" /> that specifies the number of elements contained in the current
   instance.</para></value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="P:System.Collections.ArrayList.Capacity" /> is the number of elements that the <see cref="T:System.Collections.ArrayList" /> can store. <see cref="P:System.Collections.ArrayList.Count" /> is the number of elements that are actually in the <see cref="T:System.Collections.ArrayList" />.</para><para><see cref="P:System.Collections.ArrayList.Capacity" /> is always greater than or equal to <see cref="P:System.Collections.ArrayList.Count" />. If <see cref="P:System.Collections.ArrayList.Count" /> exceeds <see cref="P:System.Collections.ArrayList.Capacity" /> while adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of elements actually contained in the <see cref="T:System.Collections.ArrayList" />.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="FixedSize"><MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList FixedSize(class System.Collections.ArrayList list)" /><MemberSignature Language="C#" Value="public static System.Collections.ArrayList FixedSize (System.Collections.ArrayList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ArrayList FixedSize(class System.Collections.ArrayList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.ArrayList" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="list" /> is <see langword="null" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This wrapper can be used to prevent additions to and deletions from the original <see cref="T:System.Collections.ArrayList" />. The elements can still be modified or replaced.</para><para>A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including the addition or removal of elements, the fixed-size collection reflects those changes.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.ArrayList" /> wrapper with a fixed size.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.ArrayList" /> wrapper with a fixed size.</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ArrayList" /> to wrap. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="FixedSize"><MemberSignature Language="C#" Value="public static System.Collections.IList FixedSize (System.Collections.IList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.IList FixedSize(class System.Collections.IList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.IList" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This wrapper can be used to prevent additions to and deletions from the original <see cref="T:System.Collections.IList" />. The elements can still be modified or replaced.</para><para>A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including the addition or removal of elements, the fixed-size collection reflects those changes.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.IList" /> wrapper with a fixed size.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IList" /> wrapper with a fixed size.</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IList" /> to wrap. </param></Docs></Member><Member MemberName="GetEnumerator"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Collections.IEnumerator GetEnumerator()" /><MemberSignature Language="C#" Value="public virtual System.Collections.IEnumerator GetEnumerator ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IEnumerator GetEnumerator() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IEnumerator</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The foreach statement of the C# language (for each in Visual Basic) hides the complexity of the enumerators.  Therefore, using foreach is recommended, instead of directly manipulating the enumerator.</para><para>Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.</para><para>Initially, the enumerator is positioned before the first element in the collection. <see cref="M:System.Collections.IEnumerator.Reset" /> also brings the enumerator back to this position.  At this position, <see cref="P:System.Collections.IEnumerator.Current" /> is undefined. Therefore, you must call <see cref="M:System.Collections.IEnumerator.MoveNext" /> to advance the enumerator to the first element of the collection before reading the value of <see cref="P:System.Collections.IEnumerator.Current" />.</para><para><see cref="P:System.Collections.IEnumerator.Current" /> returns the same object until either <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="M:System.Collections.IEnumerator.Reset" /> is called. <see cref="M:System.Collections.IEnumerator.MoveNext" /> sets <see cref="P:System.Collections.IEnumerator.Current" /> to the next element.</para><para>If <see cref="M:System.Collections.IEnumerator.MoveNext" /> passes the end of the collection, the enumerator is positioned after the last element in the collection and <see cref="M:System.Collections.IEnumerator.MoveNext" /> returns false. When the enumerator is at this position, subsequent calls to <see cref="M:System.Collections.IEnumerator.MoveNext" /> also return false. If the last call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> returned false, <see cref="P:System.Collections.IEnumerator.Current" /> is undefined. To set <see cref="P:System.Collections.IEnumerator.Current" /> to the first element of the collection again, you can call <see cref="M:System.Collections.IEnumerator.Reset" /> followed by <see cref="M:System.Collections.IEnumerator.MoveNext" />.</para><para>An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and its behavior is undefined.</para><para>The enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure.  To guarantee thread safety during enumeration, you can lock the collection during the entire enumeration.  To allow the collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an enumerator for the entire <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IEnumerator" /> for the entire <see cref="T:System.Collections.ArrayList" />.</para></returns></Docs><Excluded>0</Excluded></Member><Member MemberName="GetEnumerator"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Collections.IEnumerator GetEnumerator(int32 index, int32 count)" /><MemberSignature Language="C#" Value="public virtual System.Collections.IEnumerator GetEnumerator (int index, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IEnumerator GetEnumerator(int32 index, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IEnumerator</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para> -or-</para><para><paramref name="count" /> &lt; 0.</para></exception><exception cref="T:System.ArgumentException"><paramref name="index" /> + <paramref name="count" /> &gt; <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The foreach statement of the C# language (for each in Visual C++, For Each Visual Basic) hides the complexity of the enumerators.  Therefore, using foreach is recommended, instead of directly manipulating the enumerator.</para><para>Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.</para><para>Initially, the enumerator is positioned before the first element in the collection. <see cref="M:System.Collections.IEnumerator.Reset" /> also brings the enumerator back to this position.  At this position, <see cref="P:System.Collections.IEnumerator.Current" /> is undefined. Therefore, you must call <see cref="M:System.Collections.IEnumerator.MoveNext" /> to advance the enumerator to the first element of the collection before reading the value of <see cref="P:System.Collections.IEnumerator.Current" />.</para><para><see cref="P:System.Collections.IEnumerator.Current" /> returns the same object until either <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="M:System.Collections.IEnumerator.Reset" /> is called. <see cref="M:System.Collections.IEnumerator.MoveNext" /> sets <see cref="P:System.Collections.IEnumerator.Current" /> to the next element.</para><para>If <see cref="M:System.Collections.IEnumerator.MoveNext" /> passes the end of the collection, the enumerator is positioned after the last element in the collection and <see cref="M:System.Collections.IEnumerator.MoveNext" /> returns false. When the enumerator is at this position, subsequent calls to <see cref="M:System.Collections.IEnumerator.MoveNext" /> also return false. If the last call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> returned false, <see cref="P:System.Collections.IEnumerator.Current" /> is undefined. To set <see cref="P:System.Collections.IEnumerator.Current" /> to the first element of the collection again, you can call <see cref="M:System.Collections.IEnumerator.Reset" /> followed by <see cref="M:System.Collections.IEnumerator.MoveNext" />.</para><para>An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and its behavior is undefined.</para><para>The enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure.  To guarantee thread safety during enumeration, you can lock the collection during the entire enumeration.  To allow the collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization.</para><para>This method is an O(1) operation.</para><format type="text/html"><h2>Version Compatibility</h2></format><para>In the .NET Framework versions 1.0 and 1.1, the enumerator for an <see cref="T:System.Collections.ArrayList" /> wrapper returned by the <see cref="M:System.Collections.ArrayList.Adapter(System.Collections.IList)" /> method treated the second argument as an upper bound rather than as a count. In the dnprdnlong the second argument is correctly treated as a count.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an enumerator for a range of elements in the <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IEnumerator" /> for the specified range of elements in the <see cref="T:System.Collections.ArrayList" />.</para></returns><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the <see cref="T:System.Collections.ArrayList" /> section that the enumerator should refer to. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements in the <see cref="T:System.Collections.ArrayList" /> section that the enumerator should refer to. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="GetRange"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Collections.ArrayList GetRange(int32 index, int32 count)" /><MemberSignature Language="C#" Value="public virtual System.Collections.ArrayList GetRange (int index, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.ArrayList GetRange(int32 index, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><para><paramref name="count" /> &lt; 0.</para></exception><exception cref="T:System.ArgumentException"><para><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> &lt; <paramref name="count" />. </para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method does not create copies of the elements. The new <see cref="T:System.Collections.ArrayList" /> is only a view window into the source <see cref="T:System.Collections.ArrayList" />. However, all subsequent changes to the source <see cref="T:System.Collections.ArrayList" /> must be done through this view window <see cref="T:System.Collections.ArrayList" />. If changes are made directly to the source <see cref="T:System.Collections.ArrayList" />, the view window <see cref="T:System.Collections.ArrayList" /> is invalidated and any operations on it will return an <see cref="T:System.InvalidOperationException" />.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.ArrayList" /> which represents a subset of the elements in the source <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.ArrayList" /> which represents a subset of the elements in the source <see cref="T:System.Collections.ArrayList" />.</para></returns><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based <see cref="T:System.Collections.ArrayList" /> index at which the range starts. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements in the range. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="IndexOf"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 IndexOf(object value)" /><MemberSignature Language="C#" Value="public virtual int IndexOf (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOf(object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> is searched forward starting at the first element and ending at the last element.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the first occurrence within the entire <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the first occurrence of <paramref name="value" /> within the entire <see cref="T:System.Collections.ArrayList" />, if found; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="IndexOf"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 IndexOf(object value, int32 startIndex)" /><MemberSignature Language="C#" Value="public virtual int IndexOf (object value, int startIndex);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOf(object value, int32 startIndex) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /><Parameter Name="startIndex" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="startIndex" /> &lt; 0.</para><para>-or-</para><para><paramref name="startIndex" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> is searched forward starting at <paramref name="startIndex" /> and ending at the last element.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements from <paramref name="startIndex" /> to the end of the <see cref="T:System.Collections.ArrayList" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the first occurrence within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that extends from the specified index to the last element.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the first occurrence of <paramref name="value" /> within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that extends from <paramref name="startIndex" /> to the last element, if found; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param><param name="startIndex"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="IndexOf"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 IndexOf(object value, int32 startIndex, int32 count)" /><MemberSignature Language="C#" Value="public virtual int IndexOf (object value, int startIndex, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOf(object value, int32 startIndex, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /><Parameter Name="startIndex" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="startIndex" />&gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para><para>-or-</para><para><paramref name="count" /> &lt; 0.</para><para> -or-</para><para><paramref name="count" /> &gt;<see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="startIndex" />.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> is searched forward starting at <paramref name="startIndex" /> and ending at <paramref name="startIndex" /> plus <paramref name="count" /> minus 1, if <paramref name="count" /> is greater than 0.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the first occurrence within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that starts at the specified index and contains the specified number of elements.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the first occurrence of <paramref name="value" /> within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that starts at <paramref name="startIndex" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param><param name="startIndex"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements in the section to search. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Insert"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Insert(int32 index, object value)" /><MemberSignature Language="C#" Value="public virtual void Insert (int index, object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Insert(int32 index, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><para><paramref name="index" /> &gt; <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para></exception><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Collections.ArrayList" /> accepts null as a valid value and allows duplicate elements.</para><para>If <see cref="P:System.Collections.ArrayList.Count" /> already equals <see cref="P:System.Collections.ArrayList.Capacity" />, the capacity of the <see cref="T:System.Collections.ArrayList" /> is increased by automatically reallocating the internal array, and the existing elements are copied to the new array before the new element is added.</para><para>If <paramref name="index" /> is equal to <see cref="P:System.Collections.ArrayList.Count" />, <paramref name="value" /> is added to the end of <see cref="T:System.Collections.ArrayList" />.</para><para>In collections of contiguous elements, such as lists, the elements that follow the insertion point move down to accommodate the new element. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Inserts an element into the <see cref="T:System.Collections.ArrayList" /> at the specified index.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index at which <paramref name="value" /> should be inserted. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to insert. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="InsertRange"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void InsertRange(int32 index, class System.Collections.ICollection c)" /><MemberSignature Language="C#" Value="public virtual void InsertRange (int index, System.Collections.ICollection c);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void InsertRange(int32 index, class System.Collections.ICollection c) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="c" Type="System.Collections.ICollection" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="c" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para><paramref name="index" /> &gt; <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para></exception><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Collections.ArrayList" /> accepts null as a valid value and allows duplicate elements.</para><para>If the new <see cref="P:System.Collections.ArrayList.Count" /> (the current <see cref="P:System.Collections.ArrayList.Count" /> plus the size of the collection) will be greater than <see cref="P:System.Collections.ArrayList.Capacity" />, the capacity of the <see cref="T:System.Collections.ArrayList" /> is increased by automatically reallocating the internal array to accommodate the new elements, and the existing elements are copied to the new array before the new elements are added.</para><para>If <paramref name="index" /> is equal to <see cref="P:System.Collections.ArrayList.Count" />, the elements are added to the end of <see cref="T:System.Collections.ArrayList" />.</para><para>The order of the elements in the <see cref="T:System.Collections.ICollection" /> is preserved in the <see cref="T:System.Collections.ArrayList" />.</para><para>In collections of contiguous elements, such as lists, the elements that follow the insertion point move down to accommodate the new element. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para><para>This method is an O(<paramref name="n" /> + <paramref name="m" />) operation, where <paramref name="n" /> is the number of elements to be added and <paramref name="m" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Inserts the elements of a collection into the <see cref="T:System.Collections.ArrayList" /> at the specified index.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index at which the new elements should be inserted. </param><param name="c"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ICollection" /> whose elements should be inserted into the <see cref="T:System.Collections.ArrayList" />. The collection itself cannot be null, but it can contain elements that are null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="IsFixedSize"><MemberSignature Language="ILASM" Value=".property bool IsFixedSize { public hidebysig virtual specialname bool get_IsFixedSize() }" /><MemberSignature Language="C#" Value="public virtual bool IsFixedSize { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsFixedSize" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters /><Docs><value><para><see langword="true" /> if the
<see cref="P:System.Collections.ArrayList.Capacity" /> of the current instance cannot be changed;
   otherwise, <see langword="false" />. </para></value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A collection with a fixed size does not allow the addition or removal of elements after the collection is created, but it allows the modification of existing elements.</para><para>A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including the addition or removal of elements, the fixed-size collection reflects those changes.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the <see cref="T:System.Collections.ArrayList" /> has a fixed size.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="IsReadOnly"><MemberSignature Language="ILASM" Value=".property bool IsReadOnly { public hidebysig virtual specialname bool get_IsReadOnly() }" /><MemberSignature Language="C#" Value="public virtual bool IsReadOnly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters /><Docs><value><para><see langword="true" /> if the
   current instance is read-only; otherwise,
<see langword="false" />.</para></value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.</para><para>A collection that is read-only is simply a collection with a wrapper that prevents modifying the collection; therefore, if changes are made to the underlying collection, the read-only collection reflects those changes.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the <see cref="T:System.Collections.ArrayList" /> is read-only.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="IsSynchronized"><MemberSignature Language="ILASM" Value=".property bool IsSynchronized { public hidebysig virtual specialname bool get_IsSynchronized() }" /><MemberSignature Language="C#" Value="public virtual bool IsSynchronized { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsSynchronized" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters /><Docs><value><para><see langword="true" /> if access to
   the current instance is synchronized
   (thread-safe); otherwise, <see langword="false" />.</para></value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To guarantee the thread safety of the <see cref="T:System.Collections.ArrayList" />, all operations must be done through the wrapper returned by the <see cref="M:System.Collections.ArrayList.Synchronized(System.Collections.IList)" /> method.</para><para>Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether access to the <see cref="T:System.Collections.ArrayList" /> is synchronized (thread safe).</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Item"><MemberSignature Language="ILASM" Value=".property object Item[int32 index] { public hidebysig virtual specialname object get_Item(int32 index) public hidebysig virtual specialname void set_Item(int32 index, object value) }" /><MemberSignature Language="C#" Value="public virtual object this[int index] { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance object Item(int32)" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="index">A <see cref="T:System.Int32" /> that specifies the zero-based index of the element in the current instance to get or set. This value is greater than or equal to 0, and less than the <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</param><summary><para> Gets or sets the element at the specified index of the current instance.</para></summary><value><para>The element at the specified index of the current instance.</para></value><remarks><block subset="none" type="note"><para>This property provides the ability to access a specific element in the
         collection by using the following syntax: <c>myCollection[index]</c> .</para><para>This property is implemented to support the <see cref="T:System.Collections.IList" /> interface.</para></block><para><block subset="none" type="behaviors">As described
   above.</block></para></remarks><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><para><paramref name="index" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para></exception></Docs><Excluded>0</Excluded></Member><Member MemberName="LastIndexOf"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 LastIndexOf(object value)" /><MemberSignature Language="C#" Value="public virtual int LastIndexOf (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 LastIndexOf(object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> is searched backward starting at the last element and ending at the first element.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the last occurrence within the entire <see cref="T:System.Collections.ArrayList" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the last occurrence of <paramref name="value" /> within the entire the <see cref="T:System.Collections.ArrayList" />, if found; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="LastIndexOf"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 LastIndexOf(object value, int32 startIndex)" /><MemberSignature Language="C#" Value="public virtual int LastIndexOf (object value, int startIndex);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 LastIndexOf(object value, int32 startIndex) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /><Parameter Name="startIndex" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="startIndex" /> &lt; 0.</para><para>-or-</para><para><paramref name="startIndex" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> is searched backward starting at <paramref name="startIndex" /> and ending at the first element.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements from the beginning of the <see cref="T:System.Collections.ArrayList" /> to <paramref name="startIndex" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the last occurrence within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that extends from the first element to the specified index.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the last occurrence of <paramref name="value" /> within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that extends from the first element to <paramref name="startIndex" />, if found; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param><param name="startIndex"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the backward search. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="LastIndexOf"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 LastIndexOf(object value, int32 startIndex, int32 count)" /><MemberSignature Language="C#" Value="public virtual int LastIndexOf (object value, int startIndex, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 LastIndexOf(object value, int32 startIndex, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /><Parameter Name="startIndex" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="startIndex" /> &lt; 0.</para><para>-or-</para><para><paramref name="count" /> &lt; 0.</para><para>-or-</para><para><paramref name="startIndex" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para><para>-or-</para><para><paramref name="count" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para><para>-or-</para><para><paramref name="count" /> &gt; <paramref name="startIndex" /> + 1.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ArrayList" /> is searched backward starting at <paramref name="startIndex" /> and ending at <paramref name="startIndex" /> minus <paramref name="count" /> plus 1, if <paramref name="count" /> is greater than 0.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="item" /> to determine whether item exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the last occurrence within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that contains the specified number of elements and ends at the specified index.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the last occurrence of <paramref name="value" /> within the range of elements in the <see cref="T:System.Collections.ArrayList" /> that contains <paramref name="count" /> number of elements and ends at <paramref name="startIndex" />, if found; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param><param name="startIndex"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the backward search. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements in the section to search. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="ReadOnly"><MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList ReadOnly(class System.Collections.ArrayList list)" /><MemberSignature Language="C#" Value="public static System.Collections.ArrayList ReadOnly (System.Collections.ArrayList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ArrayList ReadOnly(class System.Collections.ArrayList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.ArrayList" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="list" /> is <see langword="null" />. </exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To prevent any modifications to <paramref name="list" />, expose <paramref name="list" /> only through this wrapper.</para><para>A collection that is read-only is simply a collection with a wrapper that prevents modifying the collection. If changes are made to the underlying collection, the read-only collection reflects those changes.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a read-only <see cref="T:System.Collections.ArrayList" /> wrapper.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A read-only <see cref="T:System.Collections.ArrayList" /> wrapper around <paramref name="list" />.</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ArrayList" /> to wrap. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="ReadOnly"><MemberSignature Language="C#" Value="public static System.Collections.IList ReadOnly (System.Collections.IList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.IList ReadOnly(class System.Collections.IList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.IList" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To prevent any modifications to <paramref name="list" />, expose <paramref name="list" /> only through this wrapper.</para><para>A collection that is read-only is simply a collection with a wrapper that prevents modifying the collection. If changes are made to the underlying collection, the read-only collection reflects those changes.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a read-only <see cref="T:System.Collections.IList" /> wrapper.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A read-only <see cref="T:System.Collections.IList" /> wrapper around <paramref name="list" />.</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IList" /> to wrap. </param></Docs></Member><Member MemberName="Remove"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Remove(object obj)" /><MemberSignature Language="C#" Value="public virtual void Remove (object obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Remove(object obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.Object" /></Parameters><Docs><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the <see cref="T:System.Collections.ArrayList" /> does not contain the specified object, the <see cref="T:System.Collections.ArrayList" /> remains unchanged. No exception is thrown.</para><para>This method performs a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para><para>This method determines equality by calling <see cref="M:System.Object.Equals(System.Object)" />.</para><para>In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.ArrayList" />.</para></summary><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to remove from the <see cref="T:System.Collections.ArrayList" />. The value can be null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="RemoveAt"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void RemoveAt(int32 index)" /><MemberSignature Language="C#" Value="public virtual void RemoveAt (int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveAt(int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><para><paramref name="index" /> &gt;= <see cref="P:System.Collections.ArrayList.Count" /> of the current instance.</para></exception><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>After the element is removed, the size of the collection is adjusted and the value of the <see cref="P:System.Collections.ArrayList.Count" /> property is decreased by one.</para><para>In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the element at the specified index of the <see cref="T:System.Collections.ArrayList" />.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the element to remove. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="RemoveRange"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void RemoveRange(int32 index, int32 count)" /><MemberSignature Language="C#" Value="public virtual void RemoveRange (int index, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveRange(int32 index, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><para><paramref name="count" /> &lt; 0.</para></exception><exception cref="T:System.ArgumentException"><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> &lt; <paramref name="count" />.</exception><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes a range of elements from the <see cref="T:System.Collections.ArrayList" />.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the range of elements to remove. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements to remove. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Repeat"><MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList Repeat(object value, int32 count)" /><MemberSignature Language="C#" Value="public static System.Collections.ArrayList Repeat (object value, int count);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ArrayList Repeat(object value, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="count" /> &lt; 0.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Collections.ArrayList" /> accepts null as a valid value and allows duplicate elements.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.ArrayList" /> whose elements are copies of the specified value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.ArrayList" /> with <paramref name="count" /> number of elements, all of which are copies of <paramref name="value" />.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to copy multiple times in the new <see cref="T:System.Collections.ArrayList" />. The value can be null. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of times <paramref name="value" /> should be copied. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Reverse"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Reverse()" /><MemberSignature Language="C#" Value="public virtual void Reverse ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Reverse() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><exception cref="T:System.NotSupportedException">The current instance is read-only.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method uses <see cref="M:System.Array.Reverse(System.Array)" /> to reverse the order of the elements, such that the element at <see cref="T:System.Collections.ArrayList" /> [i], where i is any index within the range, moves to <see cref="T:System.Collections.ArrayList" /> [j], where j equals <paramref name="index" /> + <paramref name="index" /> + <paramref name="count" /> - i - 1.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Reverses the order of the elements in the entire <see cref="T:System.Collections.ArrayList" />.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Reverse"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Reverse(int32 index, int32 count)" /><MemberSignature Language="C#" Value="public virtual void Reverse (int index, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Reverse(int32 index, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para> -or-</para><para><paramref name="count" /> &lt; 0.</para></exception><exception cref="T:System.ArgumentException"><para><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> &lt; <paramref name="count" />.</para></exception><exception cref="T:System.NotSupportedException">The current instance is read-only.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method uses <see cref="M:System.Array.Reverse(System.Array)" /> to reverse the order of the elements, such that the element at <see cref="T:System.Collections.ArrayList" /> [i], where i is any index within the range, moves to <see cref="T:System.Collections.ArrayList" /> [j], where j equals <paramref name="index" /> + <paramref name="index" /> + <paramref name="count" /> - i - 1.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Reverses the order of the elements in the specified range.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the range to reverse. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of elements in the range to reverse. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="SetRange"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void SetRange(int32 index, class System.Collections.ICollection c)" /><MemberSignature Language="C#" Value="public virtual void SetRange (int index, System.Collections.ICollection c);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetRange(int32 index, class System.Collections.ICollection c) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="c" Type="System.Collections.ICollection" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para> -or-</para><para><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> &lt; <paramref name="c" />.Count.</para></exception><exception cref="T:System.ArgumentNullException"><paramref name="c" /> is <see langword="null" />.</exception><exception cref="T:System.NotSupportedException">The current instance is read-only.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Collections.ArrayList" /> accepts null as a valid value and allows duplicate elements.</para><para>The order of the elements in the <see cref="T:System.Collections.ICollection" /> is preserved in the <see cref="T:System.Collections.ArrayList" />.</para><para>This method is an O(<paramref name="n" /> + 1) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the elements of a collection over a range of elements in the <see cref="T:System.Collections.ArrayList" />.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based <see cref="T:System.Collections.ArrayList" /> index at which to start copying the elements of <paramref name="c" />. </param><param name="c"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ICollection" /> whose elements to copy to the <see cref="T:System.Collections.ArrayList" />. The collection itself cannot be null, but it can contain elements that are null. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Sort"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Sort()" /><MemberSignature Language="C#" Value="public virtual void Sort ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Sort() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><exception cref="T:System.InvalidCastException">One or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception><exception cref="T:System.NotSupportedException">The current instance is read-only.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method uses <see cref="M:System.Array.Sort(System.Array)" />, which uses the QuickSort algorithm. The QuickSort algorithm is a comparison sort (also called an unstable sort), which means that a "less than or equal to" comparison operation determines which of two elements should occur first in the final sorted list. However, if two elements are equal, their original order might not be preserved. In contrast, a stable sort preserves the order of elements that are equal. To perform a stable sort, you must implement a custom <see cref="T:System.Collections.IComparer" /> interface to use with the other overloads of this method.</para><para>On average, this method is an O(<paramref name="n" /> log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />; in the worst case it is an O(<paramref name="n" />^2) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sorts the elements in the entire <see cref="T:System.Collections.ArrayList" />.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Sort"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Sort(class System.Collections.IComparer comparer)" /><MemberSignature Language="C#" Value="public virtual void Sort (System.Collections.IComparer comparer);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Sort(class System.Collections.IComparer comparer) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="comparer" Type="System.Collections.IComparer" /></Parameters><Docs><exception cref="T:System.InvalidCastException"><paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception><exception cref="T:System.NotSupportedException">The current instance is read-only.</exception><exception cref="T:System.InvalidOperationException"><paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Collections.ArrayList.Sort(System.Collections.IComparer)" /> method to  sort a list of objects with a custom comparer that implements the <see cref="T:System.Collections.IComparer" /> interface. If you pass null for <paramref name="comparer" />, this method uses the <see cref="T:System.IComparable" /> implementation of each element. In this case, you must make sure that the objects contained in the list implement the <see cref="T:System.Collections.IComparer" /> interface or an exception will occur. </para><para>In addition, using the <see cref="T:System.IComparable" /> implementation means the list performs a comparison sort (also called an unstable sort); that is, if two elements are equal, their order might not be preserved. In contrast, a stable sort preserves the order of elements that are equal. To perform a stable sort, you must implement a custom <see cref="T:System.Collections.IComparer" /> interface.</para><para>On average, this method is an O(<paramref name="n" /> log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />; in the worst case it is an O(<paramref name="n" />^2) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sorts the elements in the entire <see cref="T:System.Collections.ArrayList" /> using the specified comparer.</para></summary><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Sort"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Sort(int32 index, int32 count, class System.Collections.IComparer comparer)" /><MemberSignature Language="C#" Value="public virtual void Sort (int index, int count, System.Collections.IComparer comparer);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Sort(int32 index, int32 count, class System.Collections.IComparer comparer) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /><Parameter Name="comparer" Type="System.Collections.IComparer" /></Parameters><Docs><exception cref="T:System.ArgumentOutOfRangeException"><para><paramref name="index" /> &lt; 0.</para><para>-or-</para><para><paramref name="count" /> &lt; 0.</para></exception><exception cref="T:System.ArgumentException"><para><see cref="P:System.Collections.ArrayList.Count" /> of the current instance - <paramref name="index" /> &lt; <paramref name="count" />.</para></exception><exception cref="T:System.InvalidCastException"><paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception><exception cref="T:System.NotSupportedException">The current instance is read-only.</exception><exception cref="T:System.InvalidOperationException"><paramref name="comparer" /> is <see langword="null" />, and one or more elements in the current instance do not implement the <see cref="T:System.IComparable" /> interface.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If <paramref name="comparer" /> is set to null, this method performs a comparison sort (also called an unstable sort); that is, if two elements are equal, their order might not be preserved. In contrast, a stable sort preserves the order of elements that are equal. To perform a stable sort, you must implement a custom <see cref="T:System.Collections.IComparer" /> interface.</para><para>On average, this method is an O(<paramref name="n" /> log <paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="count" />; in the worst case it is an O(n^2) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sorts the elements in a range of elements in <see cref="T:System.Collections.ArrayList" /> using the specified comparer.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based starting index of the range to sort. </param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The length of the range to sort. </param><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing elements.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="Synchronized"><MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Collections.ArrayList Synchronized(class System.Collections.ArrayList list)" /><MemberSignature Language="C#" Value="public static System.Collections.ArrayList Synchronized (System.Collections.ArrayList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ArrayList Synchronized(class System.Collections.ArrayList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ArrayList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.ArrayList" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="list" /> is <see langword="null" />. </exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To guarantee the thread safety of the <see cref="T:System.Collections.ArrayList" />, all operations must be done through this wrapper.</para><para>Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.ArrayList" /> wrapper that is synchronized (thread safe).</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.ArrayList" /> wrapper that is synchronized (thread safe).</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.ArrayList" /> to synchronize. </param></Docs><Excluded>0</Excluded></Member><Member MemberName="Synchronized"><MemberSignature Language="C#" Value="public static System.Collections.IList Synchronized (System.Collections.IList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.IList Synchronized(class System.Collections.IList list) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.IList" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To guarantee the thread safety of the <see cref="T:System.Collections.ArrayList" />, all operations must be done through this wrapper.</para><para>Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.IList" /> wrapper that is synchronized (thread safe).</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IList" /> wrapper that is synchronized (thread safe).</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IList" /> to synchronize. </param></Docs></Member><Member MemberName="SyncRoot"><MemberSignature Language="ILASM" Value=".property object SyncRoot { public hidebysig virtual specialname object get_SyncRoot() }" /><MemberSignature Language="C#" Value="public virtual object SyncRoot { get; }" /><MemberSignature Language="ILAsm" Value=".property instance object SyncRoot" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters /><Docs><value><para>A <see cref="T:System.Object" /> that can be used to synchronize access to the
   current instance.</para></value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To create a synchronized version of the <see cref="T:System.Collections.ArrayList" />, use the <see cref="M:System.Collections.ArrayList.Synchronized(System.Collections.IList)" /> method. However, derived classes can provide their own synchronized version of the <see cref="T:System.Collections.ArrayList" /> using the <see cref="P:System.Collections.ArrayList.SyncRoot" /> property. The synchronizing code must perform operations on the <see cref="P:System.Collections.ArrayList.SyncRoot" /> of the <see cref="T:System.Collections.ArrayList" />, not directly on the <see cref="T:System.Collections.ArrayList" />. This ensures proper operation of collections that are derived from other objects. Specifically, it maintains proper synchronization with other threads that might be simultaneously modifying the <see cref="T:System.Collections.ArrayList" /> object.</para><para>Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ArrayList" />.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="ToArray"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Object[] ToArray()" /><MemberSignature Language="C#" Value="public virtual object[] ToArray ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object[] ToArray() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object[]</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The elements are copied using <see cref="Overload:System.Array.Copy" />, which is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the elements of the <see cref="T:System.Collections.ArrayList" /> to a new <see cref="T:System.Object" /> array.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Object" /> array containing copies of the elements of the <see cref="T:System.Collections.ArrayList" />.</para></returns></Docs><Excluded>0</Excluded></Member><Member MemberName="ToArray"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Array ToArray(class System.Type type)" /><MemberSignature Language="C#" Value="public virtual Array ToArray (Type type);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Array ToArray(class System.Type type) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Array</ReturnType></ReturnValue><Parameters><Parameter Name="type" Type="System.Type" /></Parameters><Docs><exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.</exception><exception cref="T:System.InvalidCastException">At least one element of the current instance cannot be cast to the <see cref="T:System.Type" /><paramref name="type" />.</exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>All of the objects in the <see cref="T:System.Collections.ArrayList" /> object will be cast to the <see cref="T:System.Type" /> specified in the <paramref name="type" /> parameter.</para><para>The elements are copied using <see cref="Overload:System.Array.Copy" />, which is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the elements of the <see cref="T:System.Collections.ArrayList" /> to a new array of the specified element type.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An array of the specified element type containing copies of the elements of the <see cref="T:System.Collections.ArrayList" />.</para></returns><param name="type"><attribution license="cc4" from="Microsoft" modified="false" />The element <see cref="T:System.Type" /> of the destination array to create and copy elements to.</param></Docs><Excluded>0</Excluded></Member><Member MemberName="TrimToSize"><MemberSignature Language="ILASM" Value=".method public hidebysig virtual void TrimToSize()" /><MemberSignature Language="C#" Value="public virtual void TrimToSize ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void TrimToSize() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><exception cref="T:System.NotSupportedException"><para>The current instance is read-only or has a fixed size.</para></exception><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method can be used to minimize a collection's memory overhead if no new elements will be added to the collection.</para><para>To reset a <see cref="T:System.Collections.ArrayList" /> to its initial state, call the <see cref="M:System.Collections.ArrayList.Clear" /> method before calling <see cref="M:System.Collections.ArrayList.TrimToSize" />. Trimming an empty <see cref="T:System.Collections.ArrayList" /> sets the capacity of the <see cref="T:System.Collections.ArrayList" /> to the default capacity.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.ArrayList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the capacity to the actual number of elements in the <see cref="T:System.Collections.ArrayList" />.</para></summary></Docs><Excluded>0</Excluded></Member></Members><TypeExcluded>0</TypeExcluded></Type>