hey guys , im doin a final year project but it has come to a dead end as i dont know any way i can perform binary addition in C#
what i am trying to do is
i have two strings
string a= "00001"; /* which is decimal 1 i made it with the '0's using
string a = Convert.ToString(2, 2).PadLeft(5, '0'); */
string b= "00010";
what i want to do is perform binary add between the two so the answer will be 00011 ( 3)
it is important that i can perform the addition in this format "00000"
please help me out if u have any ideas as to how this can be achieved
~Alfed
(ps: i was thinking char array but i gave up on the logic behind it :( )