© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
26 replies
Alex Frost

❔ Get list of indices from a List

I have a result set called "result". I want to use Linq to get a list of distinct items by name and their indices in the source resultset. How can I accomplish that?
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

Getting the result from a list of tasks
C#CC# / help
4y ago
Get index of a selected item in a list view
C#CC# / help
3y ago
LINQ List A (list of strings) "partial" has any member of list B (list of strings)
C#CC# / help
3y ago
✅ How to get ids from tuple list?
C#CC# / help
3y ago