If I have these strings:
\"abc\" = false
\"abc\"
false
\"123\" = true
\"123\"
true
\"ab2\"
Here is the C# method. Int.TryParse Method (String, Int32)