最佳答案
我只是好奇 C # 语言或者。NET 框架,用于测试某些内容是否为整数
if (x is an int)
// Do something
在我看来可能有,但我只是一个一年级的编程学生,所以我不知道。