public static int Index <T>(this Generic.IEnumerator <T> me, T needle) { return(me.Index(element => element.SameOrEquals(needle))); }
public static int Index <T>(this Generic.IEnumerator <T> me, params T[] needles) where T : IEquatable <T> { return(me.Index(element => needles.Contains(element))); }