A
A
Andrey Zagorodniy2017-09-23 22:31:24
C++ / C#
Andrey Zagorodniy, 2017-09-23 22:31:24

How to convert from binary to decimal in C#?

How to convert from binary to decimal in C#?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BlackLucky, 2017-09-23
@Roman2017

string b = "11110";
int i = Convert.ToInt32(bin, 2);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question