SyntaxFix
Write A Post
Hire A Developer
Questions
I realise this is an old topic, but can't you simply:
(Nullable<int>)int.Parse(stringVal);
?