| BitConverterToInt32 Method | 
Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
 
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
 Syntax
Syntaxpublic static int ToInt32(
	byte[] value,
	int startIndex
)
Parameters
- value
- Type: SystemByte
 An array of bytes.
- startIndex
- Type: SystemInt32
 The starting position within value.
Return Value
Type: 
Int32A 32-bit signed integer formed by four bytes beginning at 
startIndex.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| ArgumentException | startIndex is greater than or equal to the length of value minus 3, and is less than or equal to the length of value minus 1. | 
| ArgumentNullException | value is null. | 
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 1. | 
 See Also
See Also