src/Shared/EntityFramework/Core/SchemaObjectModel/RelationshipEndCollection.cs
// <summary>
// copy all elements to an array
// </summary>
// <param name="ends"> array to copy to </param>
// <param name="index"> The zero-based index in array at which copying begins. </param>
copy all elements to an array
copy all elements to an array
public void CopyTo(IRelationshipEnd[] ends, int index)
        {
            Debug.Assert(ends.Length - index >= Count);
            foreach (var end in this)
            {
                ends[index++] = end;
            }
        }
public void CopyTo ( IRelationshipEnd [ ] ends , int index ) { Debug . Assert ( ends . Length - index >= Count ) ; foreach ( var end in this ) { ends [ index ++ ] = end ; } }
copy all elements to an array
copy all elements to an array
ends
IRelationshipEnd[]
array to copy to
array to copy to
index
int
The zero-based index in array at which copying begins.
The zero - based index in array at which copying begins .