c# list.foreach

C#
List<string> someList = <some way to init>
someList.ForEach(delegate(string s) {
    <process the string>
});
Source

Also in C#: