using System.Collections;
using System.Collections.Generic;
public static void Main()
List<string> strings = new List<string> { "asd", "gdfd", "asda" };
List<int> indexes = strings.Select(x => order++).ToList();
foreach (int index in indexes)
Console.WriteLine(index);