I have some problems with a nestled switch loop.
I'm trying to do something like this.
and so on...
This doesn't work.
Any ideas?
I'm trying to do something like this.
C#:
string selection = menu();
switch(selection)
{
case "customer":
{
<someCode>
}
case "supplier":
{
string subSelection = Convert.ToString(Console.ReadLine());
switch(subSelection)
{
case <someString>
{
and so on...
This doesn't work.
Any ideas?