Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initializing an object
Message
 
 
To
19/01/2006 16:51:43
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01088686
Message ID:
01088718
Views:
10
I'm not sure if you can do this in VB, but in C# you can define an array without a first parameter:
private Object[][2] oParameters=null;
then later you can fill the array as follows
oParameters = new Object[3][2] {  {new MyObject1(), new MyObject2()},
                                 {new MyObject3(), new MyObject4()},
                                 {new MyObject5(), new MyObject6()}
                              };
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform