samedi 31 octobre 2020

Python to C# code .How could be converted

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