C# Class Dicom.Utility.ArrayUtility

Utility methods for manipulating an array
Exibir arquivo Open project: fo-dicom/mdcm Class Usage Examples

Public Methods

Method Description
Shuffle ( Array array ) : void

Shuffles an array

Swap ( Array array, int source, int destination ) : void

Swaps 2 items in an array

Method Details

Shuffle() public static method

Shuffles an array
public static Shuffle ( Array array ) : void
array System.Array Array
return void

Swap() public static method

Swaps 2 items in an array
public static Swap ( Array array, int source, int destination ) : void
array System.Array Array
source int Source item
destination int Destination item
return void