假设我们有两个变量:
int test = 50; int test1 = 45;
现在我想检查是否test1接近test-5/+ 5(含).我该怎么做?
test1
test
c# math
c# ×1
math ×1