C#无法将类型“string”隐式转换为“int"

日期:2016-04-24 04:39:43 人气:2

C#无法将类型“string”隐式转换为“int"

完整代码应该如下:using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace sd { class Program { public static void Main() { int a; a = Convert.ToInt32(Console.ReadLine(
    A+
热门评论