Is there, or how would you make a switch statement from an enum?
ie. by right clicking on app or something??
enum AppType
{
Windows,
Web,
Java
};
DoStuff( AppType app )
{
app
}
Create the following
DoStuff( AppType app )
{
switch( app )
{
case Windows:
case Web:
case Java:
default:
}
}
break; could be added optionaly to each case.
From that point it is easy enough to remove or re arrange the case statements more precisely.
*moved by feline*