示例#1
0
 public void CopyTo(DynamicArray <T> dst)
 {
     dst.SetSize(Length);
     Copy(this, dst);
 }
示例#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);
 }
示例#3
0
 public Enumerator(DynamicArray <T> array)
 {
     Array  = array;
     Length = array.Length;
     Index  = -1;
 }