Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution in c#
Message
De
13/07/2016 10:13:08
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01638288
Message ID:
01638324
Vues:
72
>>Is there are way you can execute a marco-substitution in c#, like you can in VFP?
>>In VFP it's something like this:
>>
>>use sometable
>>lcCmd = "BROWSE"
>>&lcCmd
>>
>>
>>Is there a way you can do something like it in c#?
>>
>>Thanks.
>
>I have been programming C# (not full time since I do tons of VFP work as well) since 2005. And I don't remember a case where I would need to have the VFP-like macro feature in C#. Unless your question is academic, it would help to see an example of what you are trying to to.

Dmitry/(and Viv)

Before Generics came around, there were scenarios where reflection really helped. But the combination of generics and interfaces often reduces the # of instances where it's necessary. Using generics can mean giving a serious second look at a design, and it's usually worth it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform