【发布时间】:2015-11-01 09:21:58
【问题描述】:
back: Console.Write("The first number= ");
int x = int.Parse(Console.ReadLine());
if (x== string ) { goto back;} // here my proplem
我该如何建模:如果 x 输入字符串 goto 返回则含义
【问题讨论】:
-
Goto 有时很有用,甚至是必要的。但不在这里!!!
标签: c# string visual-studio-2010 if-statement int