Decimal to binary conversion in c #
- by Pramodh
How to convert a decimal no into binary in c #
Now i'm using like:
String str="8";
String Ans= Convert.ToInt32(str,2).ToString();
But its throwing some Exceptions.
Please help me to do this
Thanks in advance