11
Answers

bits as an integer

Administrator

Administrator

21y
2.3k
1
I have 31 bits (as a string) inside a textbox that I need to represent as an integer. My code is simple: myTextBox.Text = "1100111101000101000111010001011"; myInt = int.Parse(myTextBox.Text); // error, number too large Obviously I am going about this the wrong way. Any help would be appreciated.
Answers (11)