Skip to content

UInt32Extensions.ToBinaryString Method

Definition

Converts a uint to its binary string representation, e.g. "0b00000001000000100000001100000100".

public static string ToBinaryString(this uint value);

View source

Parameters

Name Type Description
value UInt32

Returns

String

A 34-character string prefixed with "0b" followed by 32 binary digits.