int.Parse()

Converts the string representation of a numeric value to int.