How can I convert a binary string, such as 1001101 to Decimal? (77)
1001101
string s=Console.ReadLine(); int b=Convert.ToInt32(s,2); Console.WriteLine("Input value in base 10 = "+b);
convert any binary to decimal. :)