public static void Main()
var bitspacecruncher = new BitspaceCruncher();
bitspacecruncher.Input();
bitspacecruncher.Cruncher();
public class BitspaceCruncher
Console.WriteLine("Enter the numbers of integer bits below, and I will calculate the numbers of non-degenerate states allowed in the bitspace below: ");
String Reject = Console.ReadLine();
while(!BigInteger.TryParse(Reject, out x))
Console.WriteLine("Not an integer, try again.");
Reject = Console.ReadLine();
Console.WriteLine("{0}-bit bitspace has {1} non-degenerative states.", bits, states);