I need to take an int and turn it into its byte form. 

i.e. I need to take '1' and turn it into '00000001'
or '160' and turn it into '10100000'

Currently, I am using this

```
            int x = 3;
            string s = Convert.ToString(x, 2);
            int b = int.Parse(s);

```

This is an awful way to do things, so I am looking for a better way.

Any Suggestions?

**EDIT**

Basically, I need to get a list of every number up to 256 in base-2. I'm going to store all the numbers in a list, and keep them in a table on my db.

**UPDATE**

I decided to keep the base-2 number as a string instead of parsing it back. Thanks for the help and sorry for the confusion!