using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
public static class CollectionsExtensions
{
public static List FindAllIndex(this List container, Predicate match)
{
var items = container.FindAll(match);
List indexes = new List();
foreach (var item in items)
{
indexes.Add(container.IndexOf(item));
}
return indexes;
}
}