© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
51 replies
The Negative One

Convert List to index to be used in an array

So I am trying to find a way to take a List<T> and get each of its Items as an array index so I pass that to a function that I already have written. (Trying to keep this genaric as to fully understand everything would take dissecting the game Im working on lol.)
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?
Next page

Similar Threads

✅ Convert List to IList
C#CC# / help
3y ago
✅ Cannot convert List<MyClass> to List<object>
C#CC# / help
9mo ago
❔ Best way to cache index of an object in a list
C#CC# / help
3y ago
Can I initialize and instance of an object in an array with its index in the array?
C#CC# / help
13mo ago