convert number to binary c# method code example
Example 1: c# integer to bit string
int value = 8;
string binary = Convert.ToString(value, 2);
Example 2: convert-integer-to-binary-in-c-sharp
int value = 8;
string binary = Convert.ToString(value, 2);