All I can think of is to loop over the list of strings (which you have got from performing a split) and doing something like int.TryParse() on them one after the other and putting them into a new List. Encapsulate it in a nice little helper method somewhere and it won't be too horrid.