C# Класс SupportClass.ArraysSupport, csharp-ldap

This class manages array operations.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

FillArray() публичный статический Метод

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.
Результат void

FillArray() публичный статический Метод

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.
Результат void

IsArrayEqual() публичный статический Метод

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.
Результат bool