Example #1
0
        public void CopyTo(T[] array, int arrayIndex)
        {
            lock (Locker)
            {
                if (array == null)
                {
                    array = new T[Origin.Count + arrayIndex];
                }
                else
                {
                    Array.Resize(ref array, Origin.Count + arrayIndex);
                }

                Origin.CopyTo(array, arrayIndex);
            }
        }