linq foreach c#

C#
someValues.ToList().ForEach(x => list.Add(x + 1));
Source

Also in C#: