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....
Précédent
Suivant
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