public void ForEach() { var mutables = new Mutable[] { new Mutable { value = 1 }, new Mutable { value = 2 }, new Mutable { value = 3 }, }; mutables.Select(m => m).ForEach(m => m.value += 1); CollectionAssert.AreEqual( new int[] { 2, 3, 4 }, mutables.Select(m => m.value) ); }