binary, octal, and hexadecimal equivalents

I'm have trouble writing two programs that each print a table of the binary, octal, and hexadecimal equivalents of the decimal numbers in the range 1-256. The problem is that i have to use the computer lanuage C # which is relatively new please help.

Solution Preview

Try the following program in C code. The program and executable is also attached.