Try to parse a string as an int, a BigInteger or a double.
public static bool TryParse(string s, out object result)
Параметры
Возвращаемое значение