c#里面怎么将字符串转换为整型数值

如题所述

string str="1234";
int num=Int32.Parse(str);
温馨提示:答案为网友推荐,仅供参考
相似回答