问题
Can i capture the textbox input as an octal number in windows phone 7 ?
回答1:
You can covert string to int use:
int number = Convert.ToInt32("010", 8);
if it throws FormatException
then number cannot be converted.
来源:https://stackoverflow.com/questions/11377655/windows-phone-textbox-input-as-an-octal-number