I\'d like to do the equivalent of the following in LINQ, but I can\'t figure out how:
IEnumerable items = GetItems(); items.ForEach(i => i.DoS
Yet another ForEach Example
ForEach
public static IList MapToDomain(IList addresses) { var workingAddresses = new List(); addresses.Select(a => a).ToList().ForEach(a => workingAddresses.Add(AddressModelMapper.MapToDomain(a))); return workingAddresses; }