how to write an if statement with two checkboxes in csharp

Code Example - how to write an if statement with two checkboxes in csharp

                
                        if (CoffeeCreamLabel.Checked && CoffeeSugarLabel.Checked)
                OrderList.Text = "";