>>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.