Something in the likes of IList.IndexOf() but on IEnumerable<T>?
- by devoured elysium
Is there any method / extension method on IEnumerable that allows me to find the index of of an object instance in it? Like IndexOf() in IList?
indexPosition = myEnumerable.IndexOf() ?
Thanks