i am new in C# and working on Console Applications now a days i wrote the following code :
Program.cs
using System;
using System.Collect
Firstly, your label is incorrect. The end of a label should have a colon character :
.. so your label should have been this:
StartPoint:
However:
You should just loop until a condition is met. In this case.. the condition is to not restart:
bool running = true;
while (running) {
/*
* all of your other code
* should go here
*/
if (selectedOption != "y") {
running = false;
}
}