Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP - .NET blog
Message
From
04/05/2009 08:52:25
 
 
To
04/05/2009 07:09:58
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01397536
Message ID:
01397740
Views:
130
Oh yes, it works and

(1) There's boxing for all value types
(2) you have more work to do, ie checking types
(3) it takes you back to square one (even before square on), doesn't it



>As you know, that's not really what I had in mind :o) but yes, that does work.
>
>
>>Uh, you can do that just fine in C#:
>>
>>
>>    public class Test
>>    {
>>        private object[] Args = null;
>>
>>        public Test(params object[] args)
>>        {
>>            this.Args = args;
>>        }
>>    }
>>
>>
>>This allows you to pass in a variable argument list.
>>
>>Not sure why you'd ever want to do this rather than provide the proper type guidance which is more efficient and provides for adequate Intellisense, but there it is...
>>
>>+++ Rick ---
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform