62,254
社区成员
发帖
与我相关
我的任务
分享 //
// Summary:
// 将数字的字符串表示形式转换为它的等效 32 位有符号整数。
//
// Parameters:
// s:
// 包含要转换的数字的字符串。
//
// Returns:
// 与 s 中包含的数字等效的 32 位有符号整数。
//
// Exceptions:
// System.FormatException:
// s 不是仅由一个可选负号后跟一系列从 0 到 9 的数字组成的。
//
// System.ArgumentNullException:
// s 为 null。
//
// System.OverflowException:
// s 表示小于 System.Int32.MinValue 或大于 System.Int32.MaxValue 的数字。
public static int Parse(string s);