Example #1
0
 public void CopyTo(DynamicArray <T> dst)
 {
     dst.SetSize(Length);
     Copy(this, dst);
 }
Example #2
0
 public static void Copy(DynamicArray <T> src, int srcIndex, T[] dst, int dstIndex, int length)
 {
     System.Array.ConstrainedCopy(src.Elements, srcIndex, dst, dstIndex, length);
 }
Example #3
0
 public Enumerator(DynamicArray <T> array)
 {
     Array  = array;
     Length = array.Length;
     Index  = -1;
 }