System.Collections.ArrayList.IListWrapper.ToArray C# (CSharp) 메소드

ToArray() 개인적인 메소드

private ToArray ( Type type ) : Array
type System.Type
리턴 System.Array
            public override Array ToArray(Type type)
            {
                if (type == null)
                    throw new ArgumentNullException(nameof(type));
                Contract.EndContractBlock();
                Array array = Array.CreateInstance(type, _list.Count);
                _list.CopyTo(array, 0);
                return array;
            }

Same methods

ArrayList.IListWrapper::ToArray ( ) : Object[]