You don't need to use LINQ, you can use FindIndex of List<T>:
LINQ
FindIndex
List<T>
int index = customers.FindIndex(c => c.ID == 150);
548k questions
547k answers
4 comments
86.3k users