© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
7 replies
bl4ck

Can't use | operator in case?

This does nothing for some reason, and yes the id is 1
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
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Why can't I use the null propagation operator in lambda expressions?
C#CC# / help
2y ago
❔ Can I use slice operator with loop index (remainder operator%)?
C#CC# / help
4y ago
❔ SQL Server | Can i use 'Case When' in Where Clause?
C#CC# / help
4y ago
Any case where `TError` can't be boxed in example?
C#CC# / help
16mo ago