Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Noah
Posts
Comments
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
Okii
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
so multiple inputs?!
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
oh
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
what is the value on the left?
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
how does this one work?
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
hmm okay
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
it doen't seem THAT usefull tbh
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
really?
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
how is it performance wise compared to a normal switch statement?
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
is it something you would use tho?
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
Haven't seen that very often
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
switch expression, interesting
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
c#
case "rood":
return "red";
c#
case "rood":
return "red";
37 replies
C
C#
•
Created by ceramo89 on 4/22/2025 in
#help
✅ Switch - return 🤔 ( attached )
couldn't you just return instead of the
break;
break;
?
37 replies