How can i use 2 operators in a if statement. I have the following method and the MinSaldo cant be lower then 1000 dollar but i cant use 2 operators in a if statement how can i fix this ?
public void MinSaldo(double Money)
{
if (saldo - money < MinSaldo )
{
throw new Exception("saldo low ");
}
else
{
messagebox.show("works");
}
}
Aucun commentaire:
Enregistrer un commentaire