Method Equals
Equals(Char[], Int32, Char[], Int32, Int32)
See if two array slices are the same.
Declaration
public static bool Equals(char[] left, int offsetLeft, char[] right, int offsetRight, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | left | The left array to compare |
System.Int32 | offsetLeft | The offset into the array. Must be positive |
System.Char[] | right | The right array to compare |
System.Int32 | offsetRight | the offset into the right array. Must be positive |
System.Int32 | length | The length of the section of the array to compare |
Returns
Type | Description |
---|---|
System.Boolean |
|
See Also
Equals(Byte[], Int32, Byte[], Int32, Int32)
See if two array slices are the same.
Declaration
public static bool Equals(byte[] left, int offsetLeft, byte[] right, int offsetRight, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | left | The left array to compare |
System.Int32 | offsetLeft | The offset into the array. Must be positive |
System.Byte[] | right | The right array to compare |
System.Int32 | offsetRight | the offset into the right array. Must be positive |
System.Int32 | length | The length of the section of the array to compare |
Returns
Type | Description |
---|---|
System.Boolean |
|
See Also
Equals(Int32[], Int32, Int32[], Int32, Int32)
See if two array slices are the same.
Declaration
public static bool Equals(int[] left, int offsetLeft, int[] right, int offsetRight, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | left | The left array to compare |
System.Int32 | offsetLeft | The offset into the array. Must be positive |
System.Int32[] | right | The right array to compare |
System.Int32 | offsetRight | the offset into the right array. Must be positive |
System.Int32 | length | The length of the section of the array to compare |
Returns
Type | Description |
---|---|
System.Boolean |
|