int n;
bool isNumeric = int.TryParse("123", out n);