What are the recommendations for exposing a custom collection vs generic one? e.g
public class ImageCollection : Collection<Image>
{
...
}
public class Product
{
public ImageCollection {get; set;}
}
VS
public class Product
{
public Collection<Image> Images{get; set;}
}
What cases would you consider creating a custom collection? What are the pros and cons of each method?