private void Test(int condition) { if(condition) return; // Exit the methode // Here code if condition == false }