_swapbatch.foreach multiple statements csharp

Code Example - _swapbatch.foreach multiple statements csharp

                
                        for (int i = 0; i < anotherList.Count; i++)
{
    TheVM.List[i] = new Tuple<string, bool>(TheVM.List[i].Item1, anotherList[i].Item2 == 1);
}