XBinder C# Runtime Library  2.9
Static Public Member Functions | List of all members
SupportClass.ArraySupport Class Reference

This class manages array operations. More...

Static Public Member Functions

static bool Equals (System.Array array1, System.Array array2)
 Compares the entire members of one array whith the other one. More...
 
static void Fill (System.Array array, System.Int32 fromindex, System.Int32 toindex, System.Object val)
 Fills the array with an specific value from an specific index to an specific index. More...
 
static void Fill (System.Array array, System.Object val)
 Fills the array with an specific value. More...
 

Detailed Description

This class manages array operations.

Member Function Documentation

◆ Equals()

static bool SupportClass.ArraySupport.Equals ( System.Array  array1,
System.Array  array2 
)
static

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

Parameters
array1The array to be compared.
array2The array to be compared with.
Returns
True if both arrays are equals otherwise it returns false.

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

◆ Fill() [1/2]

static void SupportClass.ArraySupport.Fill ( System.Array  array,
System.Int32  fromindex,
System.Int32  toindex,
System.Object  val 
)
static

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

Parameters
arrayThe array to be filled.
fromindexThe first index to be filled.
toindexThe last index to be filled.
valThe value to fill the array with.

◆ Fill() [2/2]

static void SupportClass.ArraySupport.Fill ( System.Array  array,
System.Object  val 
)
static

Fills the array with an specific value.

Parameters
arrayThe array to be filled.
valThe value to fill the array with.