ConvertDataTypes.comConvert data types programming in one click !

Convert sbyte to byte[] in C#

    8417 hits
  • sbyte vIn = 0;
  • byte[] vOut = BitConverter.GetBytes(vIn);