<t><br/>
int n;<br/>
bool isNumeric = int.TryParse("123", out n);<br/>
<br/><br/><br/>
Update As of C# 7:<br/>
<br/>
<br/>
var isNumeric = int.TryParse("123", out int n);<br/>
<br/><br/>
<br/>
or if you don't need the number you can discard the out parameter<br/>
<br/>
<br/>
var isNumeric = int.TryParse("123", out _);<br/>
<br/><br/>
<br/>
The var s can be replaced by their respective types!</t>