I am trying to convert piece of Python code into C# but unfortunately I am stuck on a certain peace . How can I convert this part from Python code into C# code
if not (town in ("Bansko", "Borovets") and option in ("noEquipment", "withEquipment",)) and not (
town in ("Varna", "Burgas") and option in ("noBreakfast", "withBreakfast")):
print(f'Invalid input!')
Aucun commentaire:
Enregistrer un commentaire