Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void Swap<T>(
ref List<T> list,
int index1,
int index2
)
Public Shared Sub Swap(Of T) (
ByRef list As List(Of T),
index1 As Integer,
index2 As Integer
)
public:
generic<typename T>
static void Swap(
List<T>^% list,
int index1,
int index2
)
static member Swap :
list : List<'T> byref *
index1 : int *
index2 : int -> unit
Parameters
- list
- Type: System.Collections.GenericListT
- index1
- Type: SystemInt32
- index2
- Type: SystemInt32
Type Parameters
- T
See Also