ToString Method

BitConverter.ToString Method

Returns a String converted from the elements of a byte array.

Overload List

Returns a String converted from the elements of a byte array.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function ToString(Byte()) As String
[C#] public static string ToString(byte[]);
[C++] public: static String* ToString(unsigned char __gc[]);
[JScript] public static function ToString(Byte[]) : String;

Returns a String converted from the elements of a byte array starting at a specified array position.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function ToString(Byte(), Integer) As String
[C#] public static string ToString(byte[], int);
[C++] public: static String* ToString(unsigned char __gc[], int);
[JScript] public static function ToString(Byte[], int) : String;

Returns a String converted from a specified number of bytes at a specified position in a byte array.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function ToString(Byte(), Integer, Integer) As String
[C#] public static string ToString(byte[], int, int);
[C++] public: static String* ToString(unsigned char __gc[], int, int);
[JScript] public static function ToString(Byte[], int, int) : String;

Inherited from Object.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Function ToString() As String
[C#] public virtual string ToString();
[C++] public: virtual String* ToString();
[JScript] public function ToString() : String;

See Also

BitConverter Class | BitConverter Members | System Namespace

Show:
© 2016 Microsoft