Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 windows phone 7 中将文本框输入捕获为八进制数字吗?
您可以将字符串转换为 int 使用:
int number = Convert.ToInt32("010", 8);
如果抛出FormatException,则无法转换数字。
FormatException