2002-feb24-net / 2002-feb24-net/harold-project0

Exception if user input is not convertible to int in Program > Main

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/2002-feb24-net/harold-project0/blob/master/Restaurant.ConsoleApp/Program.cs#L110

The switch statement requires int 1 and 2, but instead it should require "1" and "2".

The default case will not be triggered with non int input

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.