Getting an index in LINQ