ConvertDataTypes.comConvert data types programming in one click !

Convert int to byte[] in C#

    4455 hits
  • int vIn = 0;
  • byte[] vOut = BitConverter.GetBytes(vIn);