public void MapAsICollection() { var collection = new[] {1, 2, 3} as ICollection; Assert.AreEqual(new[] {"1", "2", "3"}, collection.Map(item => item.ToString())); }
public void MapAsICollection() { var collection = new[] {1, 2, 3} as ICollection; Assert.AreEqual(new[] {"1", "2", "3"}, collection.Map(item => item.ToString())); }