yokzu

yokzu

  • NA
  • 306
  • 0

Converting string to binary?

Mar 20 2012 5:05 AM
Hi,

I am converting int values to string with binary mode like below;

string aa = Convert.ToString(128, 2);

But I want to convert a string value to binary. How can I do that?

String aa = "11101010";

Answers (3)