c# list of ints to number code example Example: list string to int c# listofIDs.Select(int.Parse).ToList()