Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatic enums in C#
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01098525
Message ID:
01098535
Vues:
12
>I'm afraid I know the answer to this :-( but after some unsuccessful tinkering, is it possible to programmatically create and populate enums in C# or are they static by design?
>
>Thanks,
>Bill

I am pretty sure they are static by design. What I am really wondering is why do you want to change them at runtime? Do you want to change the value? If you could try to explain what you want to accomplish I am sure we (i.e UT's members) can come up with other possible solutions.

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform