Method CompareArray
CompareArray(Char[], Int32, Char[], Int32)
Compare two arrays starting at the specified offsets.
Declaration
public static int CompareArray(char[] larray, int lstartIndex, char[] rarray, int rstartIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | larray | left array |
System.Int32 | lstartIndex | start offset into |
System.Char[] | rarray | right array |
System.Int32 | rstartIndex | start offset into |
Returns
Type | Description |
---|---|
System.Int32 | 0 if the arrays are equal,1 if |