Cast it to ICollection and use that .Count
List<int> list = new List<int>(Enumerable.Range(0, 100));
ICollection collection = list as ICollection;
if(collection != null)
{
Console.WriteLine(collection.Count);
}
Marc
2010-08-05 18:50:39