CSharp examples for System:Array Find
Find Index in array
using System.Linq; using System.Collections.Generic; using System;//from w w w . j a v a 2s. c o m public class Main{ public static int FindIndex<T>(this T[] array, int startIndex, int count, Predicate<T> match) { return Array.FindIndex(array, startIndex, count, match); } public static int FindIndex<T>(this T[] array, int startIndex, Predicate<T> match) { return Array.FindIndex(array, startIndex, match); } public static int FindIndex<T>(this T[] array, Predicate<T> match) { return Array.FindIndex(array, match); } }