bits as an integer
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.
AdministratorPosted Apr 15, 2003, 12:12 AM
AdministratorPosted Apr 15, 2003, 12:01 AM
AdministratorPosted Apr 14, 2003, 10:35 PM
AdministratorPosted Apr 14, 2003, 11:20 AM
AdministratorPosted Apr 14, 2003, 4:33 AM
AdministratorPosted Apr 14, 2003, 4:02 AM
AdministratorPosted Apr 14, 2003, 3:33 AM
AdministratorPosted Apr 14, 2003, 3:16 AM
AdministratorPosted Apr 14, 2003, 3:06 AM
AdministratorPosted Apr 14, 2003, 3:00 AM
AdministratorPosted Apr 14, 2003, 2:50 AM