Hallo i am Working with Stringbuilder Array,i want to convert byte in from a Byte array and save it in a Stringbuilder Array,that is my code,but is not runing like i want,i have that failure :object reference was not specified on an object instance.
private string Byte_To_Hex_Ar(Byte[] Buff)
{
StringBuilder[] My_hex = new StringBuilder[Buff.Length];
for (int i = 0; i <= My_hex.Length; i++ )
{
My_hex[i].Append(Buff[i].ToString()); //How can i Move away from this Situation???
MessageBox.Show(My_hex[i].ToString());
}
return My_hex.ToString();
}
thx in advance