Use a lambda here like: (s) => int.Parse(s, blah, blah)