var item = list.Where(t => somecondition);
I would love to be able to find out the index of the element that was returned, in fact, in my case a
You can project the list items with their indexes first:
var item = list.Select((item, index) => new { Item = item, Index = index }) .Where(pair => SomeCondition(pair.Item)) .Select(result => result.Index);