UtilSwapT Method

Swapping two elements.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static void Swap<T>(
	ref T e1,
	ref T e2
)

Parameters

e1  T
first element
e2  T
second element

Type Parameters

T
Type of element to swap

See Also