Can you explain to me:
Leading on from Andrew's answer with regards to c#2 and c#3 ... you can also do them inline for a one off search function (see below).
using System;
using System.Collections.Generic;
class Program
{
static void Main()
{
List list = new List { 1, 2, 3 };
List newList = list.FindAll(delegate(int arg)
{
return arg> 2;
});
}
}
Hope this helps.