🌈 搜索
📅  最后修改于: 2022-03-11 14:49:06.209000             🧑  作者: Mango
if (str.All(char.IsDigit)) { // String only contains numbers }