C#无法将类型“string”隐式转换为“int"
C#无法将类型“string”隐式转换为“int"
日期:2016-04-24 04:39:43 人气:2
完整代码应该如下: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(