Not being able convert from string to int - C#