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