Home > Net >  Strange: num=Bytes [6]. Get the value of num can change?
Strange: num=Bytes [6]. Get the value of num can change?

Time:09-24

The switch (Byte_No (buffer, 6))
{
In case of 49:
}


Public static byte Byte_No (byte [] Bytes, int IntNo)
{
Byte num=0;
Try
{
Num=Bytes [IntNo];
}
The catch (Exception Exception)
{
Num=0;
WriteLogs. WriteTxt (" Byte_No: "+ exception Message, Bytes);
}
return num;
}

CodePudding user response:

Buffer [6] why cannot change? Assignment is not to go, multithreading assignment more don't know change into what is not

CodePudding user response:

The Buffer has changed num is changed
  •  Tags:  
  • C #
  • Related