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