c#中string如何转换为int
int.Parse(str);?or?System.Convert.ToInt32(str)
--------------------------------------------
str为要转换的字符串