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