Information générale
Catégorie:
The Mere Mortals .NET Framework
>>>>>>>>Just reposted, now this shows up :-{
>>>>>>>>Anyway the answer is that you can't - the array has to be the last parameter.
>>>>>>>
>>>>>>>Thanks, I think I got it.
>>>>>>
>>>>>>Here's the official version:http://msdn.microsoft.com/en-us/library/w5zay9db(v=VS.100).aspx
>>>>>>'params object[] stuff' is obviously the most flexible (and dangerous :-} )
>>>>>
>>>>>lol. Definately a fitting name 'stuff' and can you imagine the method code that has to consume it?
>>>>>Tim
>>>>
>>>>VFP ? (g,d&r from foxers)
>>>
>>>Huh? No not VFP, I was talking about the name you used for params object[].
>>
>>But the caller wouldn't have to use that.....
>>I was thinking about the amount of logic you'd have to write within the method itself to quarantee that you were receiving the expected types in the right quantities etc, etc - reminiscent of VFP
>>
>>>Plus what is g,d&r?
>>grin,duck,run....
>
>OH, Ok... me too. Sorry for the confusion. I was referring to the name was appropriate because the method code would need to deal with the grab bag of content in the object array. It has been too many years now since doing any fox work though. I haven't really looked back but the data manipulation capability is always missed.
True. Another thread on that angle recently ?
>Tim
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement