Click or drag to resize
BitConverterGetBytes Method (UInt64)
Returns the specified 64-bit unsigned integer value as an array of bytes.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static byte[] GetBytes(
	ulong value
)

Parameters

value
Type: SystemUInt64
The number to convert.

Return Value

Type: Byte
An array of bytes with length 8.
See Also