Search
Setup for Free
C
C#
•
3y ago
Facade
✅ else won’t apply
I
’m new but I was testing what I learned and my else won
’t apply
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,254
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
A
Aaron
•
4/26/23, 6:21 AM
if you want another condition
, you want
else if (...)
else if (...)
, not just
else (...)
else (...)
F
Facade
OP
•
4/26/23, 6:21 AM
ohhhh ok thank you so much
J
Jimmacle
•
4/26/23, 6:35 AM
also for what it
's worth
, that second condition is redundant
J
Jimmacle
•
4/26/23, 6:36 AM
if b is not
>= 13
>= 13
then the only other option is that it must be
< 13
< 13
so there
's no point checking
A
Accord
•
4/27/23, 6:58 AM
Was this issue resolved
? If so
, run
/close
/close
otherwise I will mark this as stale and this post will be archived until there is new activity
.
else if (...)
else if (...)
else (...)
else (...)
>= 13
>= 13
< 13
< 13
Similar Threads
❔ Omnisharp won't work
C
C# / help
3y ago
❔ Query won't filter
C
C# / help
4y ago
✅ JsonSerializer: Won't deserialize correctly
C
C# / help
3y ago