c# integer to bit string

C#
int value = 8;
string binary = Convert.ToString(value, 2);
Source

Also in C#: