Converting numbers string to int using int.Parse(); in Unity C#

Converting numbers string to int using int.Parse(); in Unity C#

// Declaring numbers as strings.
public string numbersString = "1234567890";


// Start is called before the first frame update
void Start()
{
    // Converting the string to int.
    int stringAsNumbers = int.Parse(numbersString);

    Debug.Log(" int stringAsNumbers : " + stringAsNumbers);

}