📅  最后修改于: 2022-03-11 14:49:08.386000             🧑  作者: Mango
int x = 10;
int y = 2;
if(x % y == 0){
Console.WriteLine("X is divisible by y");
}
else
{
Console.WriteLine("x is not divisible by y, " + x%y + " is left");
}