For a genetic algorithm application, I\'m using a whole load of binary strings. Most of the time they literally take the form of 01001010110, so that they can b
01001010110
What about converting it to it's base 10 integer equivalent?
int myBin = Convert.ToInt32("01001010110", 2);
Convert.ToInt32() documentation