Possible Duplicate:
C#: Is operator for Generic Types with inheritance
Is it possible to add a list into another list whilst changing class type from Deal to DealBookmarkWrapper without using the foreach statement?
var list = new List<IBookmarkWrapper>();
foreach (var deal in deals)
{
list.Add(new DealBookmarkWrapper(deal));
}
Thanks.