SupportClass.SetSupport.ToArray C# (CSharp) Method

ToArray() public method

Obtains an array containing all the elements of the collection.
public ToArray ( ) : object[]
return object[]
        public new virtual object[] ToArray()
        {
            int index = 0;
                object[] tempObject= new object[this.Count];
                System.Collections.IEnumerator tempEnumerator = this.GetEnumerator();
                while (tempEnumerator.MoveNext())
                    tempObject[index++] = tempEnumerator.Current;
                return tempObject;
        }

Same methods

SupportClass.SetSupport::ToArray ( object objects ) : object[]