哪里错了?
Microsoft (R) Visual C# Compiler version 4.6.1586.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see
http://go.microsoft.com/fwlink/?LinkID=533240main.cs(15,20): error CS0128: 已在此范围定义了名为“whatInput”的局部变量
main.cs(16,17): error CS0128: 已在此范围定义了名为“itemCount”的局部变量
main.cs(26,39): error CS0103: 当前上下文中不存在名称“item”
main.cs(41,19): error CS0201: 只有 assignment、call、increment、decrement、await 和 new 对象表达式可用作语句
main.cs(41,19): error CS0103: 当前上下文中不存在名称“theEnd”
请按任意键继续. . .