/// <summary> /// Converts an array of System.Byte values into their corresponding character values and concatentes them into a string. /// </summary> /// <param name="value">An Array of byte values to be converted.</param> /// <returns>A string value.</returns> public static string ToString(byte[] value) { return(ArrayConvert.ConcatArray(Array.ConvertAll(value, new Converter <byte, char>(Convert.ToChar)))); }
//*************************************************************************** // Static Methods // /// <summary> /// Concatenates the result of each of the Array element's "ToString()" method into a single string value. /// </summary> /// <param name="value">An Array of values.</param> /// <returns>A string value.</returns> public static string ConcatArray(Array value) { return(ArrayConvert.ConcatArray(value, string.Empty)); }