/// <summary> /// Protected default constructor /// </summary> protected ReadonlyCollection() { Items = new FastList <T>(0); }
/// <summary> /// Add items at the end of the list. /// </summary> /// <param name="list">The list containing the items to add</param> public void AddRange(FastList <T> list) { AddRange(list.m_items, list.Count); }
/// <summary> /// Protected default constructor with an initial capacity. /// </summary> protected ReadonlyCollection(int capacity) { Items = new FastList <T>(capacity); }