 | fillFillT Method (IListT, T, Int32, NullableInt32) |
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static void Fill<T>(
this IList<T> tofill,
T[] v,
int start,
Nullable<int> count = null
)
Parameters
- tofill
- Type: System.Collections.GenericIListT
The IListT to fill. - v
- Type: T
The values to fill tofill with, the values will repeat over it. - start
- Type: SystemInt32
The first index to be filled. - count (Optional)
- Type: SystemNullableInt32
The number of indices to be filled, or to continue filling to the end of the IListT.
Type Parameters
- T
- The type of the values to fill.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also