"Control Cannot Fall Out Of Switch From Final Case Label ('default:') C# Code Example
Example: "Control cannot fall out of switch from final case label ('default:') c#
default:
Console.WriteLine("Invalid input");
break;
//remember "break"
default:
Console.WriteLine("Invalid input");
break;
//remember "break"
Comments
Post a Comment