ConvertDataTypes.comConvert data types programming in one click !

Convert byte[] to int in C#

    8090 hits
  • byte[] vIn = new byte[] { 1, 1, 0 };
  • int vOut = BitConverter.ToInt32(vIn, 0 /* Which byte position to convert */);