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.