on-internet
← Community

C# assignment Switch Satement pattern error for string case

Stack Overflow ·

I am a beginner in this language and I would like to know why I am encountering this error: warning CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '""' is not covered.

Comments

Sign in or sign up to comment and upvote.

No comments yet.