Do you really need this cast here? I would say that Int32.Parse() returns int, and you can assign an int to a Nullable<int>.