如果字串包含非 數字字元或者數值對於您指定的特定型別而言太大或太小,TryParse 會傳回 false 並且將 out 參數設為零。 否則,會傳回 true 並且將 out ...
msdn.microsoft.com