© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
❔ C# Arrays/Switch case help
C
C# / help
3y ago
✅ Switch Case Not Executing Properly
C
C# / help
3y ago