Xamari android string validate to int variable

Help atm i on mobile so cant post code so heres the code i need help with.
Doing a maths app. Random number generates and anather one. Display as text and save answear to variable. If user is correct continue else fail. How to do that sort of validation when userinput is text and the thing its supposed to be equal to is an int.
Sign In or Register to comment.