📜  将字符串转换为int tryparse c# 代码示例

📅  最后修改于: 2022-03-11 14:49:19.304000             🧑  作者: Mango

代码示例1
bool successfullyParsed = int.TryParse(str, out ignoreMe);
if (successfullyParsed){
    // ...
}