老師,string text1 ="C#上位機教程";
int a = int.Parse(text1);
console.writeline(a);
console.writeline();
為什么 在VS2019中會報錯呢,
System.FormatException:“Input string was not in a correct format.”
是不是我哪里寫的不對?
![]() ![]() 學(xué)習(xí)達人
|
meng425
展開
老師,string text1 ="C#上位機教程";
int a = int.Parse(text1);
console.writeline(a);
console.writeline();
為什么 在VS2019中會報錯呢,
System.FormatException:“Input string was not in a correct format.”
是不是我哪里寫的不對? |
承擔(dān)因您的行為而導(dǎo)致的法律責(zé)任,
本站有權(quán)保留或刪除有爭議評論。
參與本評論即表明您已經(jīng)閱讀并接受
上述條款。