1).
for (int i = 0; i < IsoMessageReceived.Length; i++)
{
IsoMessageForProcessing[i + 2] = IsoMessageReceived[i];
}
2).
int Length = Convert.ToInt32(Input[0]) * 256 + Convert.ToInt32(Input[1]);
byte[] ResultBytes = new byte[Length];
string ResultOutput = string.Empty;
for (int i = 0; i < Length; i++)
{
ResultBytes[i] = Input[i + 2];
}
The above 2 codes are throwing the error
This is the error : Index was outside the bounds of the array
What I have tried:
i'm debugging this code but throwing me error