How I can check if my string only contain numbers?
I don\'t remember. Something like isnumeric?
You could use Regex or int.TryParse.
See also C# Equivalent of VB's IsNumeric()