C# Class SupportClass.ArraysSupport, csharp-ldap

This class manages array operations.
ファイルを表示 Open project: EventStore/csharp-ldap

Public Methods

Method Description
FillArray ( System array, System val ) : void

Fills the array with an specific value.

FillArray ( System array, System fromindex, System toindex, System val ) : void

Fills the array with an specific value from an specific index to an specific index.

IsArrayEqual ( System array1, System array2 ) : bool

Compares the entire members of one array whith the other one.

Two arrays are equal if they contains the same elements in the same order.

Method Details

FillArray() public static method

Fills the array with an specific value.
public static FillArray ( System array, System val ) : void
array System The array to be filled.
val System The value to fill the array with.
return void

FillArray() public static method

Fills the array with an specific value from an specific index to an specific index.
public static FillArray ( System array, System fromindex, System toindex, System val ) : void
array System The array to be filled.
fromindex System The first index to be filled.
toindex System The last index to be filled.
val System The value to fill the array with.
return void

IsArrayEqual() public static method

Compares the entire members of one array whith the other one.
Two arrays are equal if they contains the same elements in the same order.
public static IsArrayEqual ( System array1, System array2 ) : bool
array1 System The array to be compared.
array2 System The array to be compared with.
return bool