就读取1数字再加一个找不到错误欸

img
就读取1数字再加1数字找不到错误欸

具体就是输入17(一个数字),回车,反馈17(我输入的那个数字),再打一个数字就结束运行了

static void Main(string[] args)
        {                                               
            string str1 = Console.ReadLine();
            int num1 = Convert.ToInt32(str1);
            string str2 = Console.ReadLine();
            int num2 = Convert.ToInt32(str2);
            int sum = num1 + num2;
            Console.WriteLine(sum);

            Console.ReadKey();
        }


就代码而言是没任何问题,把工程保存在非系统盘试看.