Find Last matched value in array - CSharp System

CSharp examples for System:Array Find

Description

Find Last matched value in array

Demo Code


using System.Linq;
using System.Collections.Generic;
using System;//from w  w w.j a va  2 s.c o  m

public class Main{
        public static T
        FindLast<T>(this T[] array, Predicate<T> match) {
            return Array.FindLast(array, match);

        }
}

Related Tutorials