I was recently asked how to convert a number to a binary string in C#. Below is a short program illustrating how to use the .NET Convert class to do this.
namespace
{
}