我可以写程序
int a = 3; int b = 4; Console.WriteLine(a % b);
我得到的答案是3. 3 mod 4 = 3怎么样?
我无法弄清楚这是如何以这种方式计算的.
c# modulus
c# ×1
modulus ×1