default
The default keyword is used to label a default case within a switch block.
Syntax
default:
Example Code
switch (value)
{
default:
break;
}
switch (value)
{
default:
return;
}
The default keyword is used to label a default case within a switch block.
default:
switch (value)
{
default:
break;
}
switch (value)
{
default:
return;
}