System.Collections.ArrayList.ArrayList C# (CSharp) Method

ArrayList() public method

public ArrayList ( ICollection c ) : System.Security
c ICollection
return System.Security
        public ArrayList(ICollection c)
        {
            if (c == null)
                throw new ArgumentNullException(nameof(c), SR.ArgumentNull_Collection);
            Contract.EndContractBlock();

            int count = c.Count;
            if (count == 0)
            {
                _items = Array.Empty<Object>();
            }
            else
            {
                _items = new Object[count];
                AddRange(c);
            }
        }

Same methods

ArrayList::ArrayList ( ) : System.Security
ArrayList::ArrayList ( bool trash ) : System.Security
ArrayList::ArrayList ( int capacity ) : System.Security