how to convert 2 integer to a binary number. c# code example Example: c# integer to bit string int value = 8; string binary = Convert.ToString(value, 2);