Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing an object
Message
 
 
À
19/01/2006 16:51:43
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01088686
Message ID:
01088718
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform