List.foreach c# get index July 8, 2019 16 32 64 128 List foreach c# index C# list foreach get current index Foreach index javascript List in c#