© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
9 replies
Rhythmic

❔ Assigning variables in switch case

Why am I getting this error?
I want to assign the value of
totalBeat
totalBeat
depending on the sign of
measure
measure
. But the program thinks
totalBeat
totalBeat
is unassigned.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ C# Arrays/Switch case help
C#CC# / help
3y ago
✅ Switch Case Not Executing Properly
C#CC# / help
3y ago