Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

_swapbatch.foreach multiple statements c#

for (int i = 0; i < anotherList.Count; i++)
{
    TheVM.List[i] = new Tuple<string, bool>(TheVM.List[i].Item1, anotherList[i].Item2 == 1);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #statements
ADD COMMENT
Topic
Name
4+6 =