APRlib

SupportClass.CollectionsManager.NCopies Method 

Returns an IList whose elements are copies of the specified value.

public static IList NCopies(
   int loop,
   object Element
);

Parameters

loop
The number of times value should be copied.
Element
The Object to copy multiple times in the new IList.

Return Value

An IList with count number of elements, all of which are copies of value.

See Also

SupportClass.CollectionsManager Class | (global) Namespace