© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
17mo ago
•
13 replies
mack
✅ enumeration help
can you call on the
“index
” of an entry in an enumeration
? like say theres 3 options
,
red
red
,
blue
blue
,
green
green
, and i have an array with
1
1
,
2
2
,
3
3
.
if a random int is used to select between the array
, can i also use that same random int to call upon the corresponding enumeration
? i
.e
.
red
red
being called at the same time
/in a similar way as
1
1
,
blue
blue
and
2
2
, etc
sorry if the question doesnt make sense
, i can rephrase
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
Collection was modified. Enumeration operation may not execute.
C
C# / help
15mo ago
Collection was modified enumeration operation may not execute
C
C# / help
4y ago