Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
splice Class
splice Methods
Splice Method
Splice(T) Method (IEnumerable(T), IEnumerable(T), Int32)
Splice(T) Method (IEnumerable(T), T, Int32)
Splice(T) Method (IList(T), IList(T), Int32)
Splice(T) Method (IList(T), T, Int32)
splice
Splice
T
Method (IList
T
,
T
, Int32)
Create an
IList
T
with an element inserted into it.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
IList
<T>
Splice
<T>(
this
IList
<T>
this
, T
slice
,
int
spliceStart
)
Parameters
this
Type:
System.Collections.Generic
IList
T
The
IList
T
to insert to.
slice
Type:
T
The element to insert.
spliceStart
Type:
System
Int32
The index of the inserted element.
Type Parameters
T
The type of the
IList
T
s.
Return Value
Type:
IList
T
A mutability-passing
IList
T
, like
this
but with
slice
inserted at index
spliceStart
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IList
T
. 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)
.
See Also
Reference
splice Class
Splice Overload
WhetStone.Looping Namespace