example
int age;
int.TryParse(txtAge.Text, out age);
test to see if integer
if true, assigns age to age variable