Issue with code execution
static public int GetMain()
{
try
{
Console.Write("Choose A project Type 1-Backend 2-fronted 3-fullstack:");
int Choice = int.Parse(Console.ReadLine()!);
if (Choice >= 4)
{
throw new Exception();
}
return Choice;
}
catch (Exception e)
{
Console.WriteLine("Input Must Be Numbers Only!;");
GetMain();
}
}
7 Replies
What issue?
@heloo we are running on a critical shortage of psychics.
I’m afraid you’ll have to give details.
>asks question
>goes offline
>doesn't elaborate further
To this day scientists all over the world are (not) questioning what OP was trying to say
Guys, one teasing is enough :kek:
If you have no further questions, please use /close to mark the forum thread as answered