Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I create objects out of variable array?
Message
From
14/09/2004 22:11:41
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00942202
Message ID:
00942214
Views:
16
example:
public System.Windows.Forms.Button C1 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C2 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C3 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C4 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C5 = new System.Windows.Forms.Button()
instead of creating the objects one line per object, can I create an object array say
Object[] myObject = new Object[5] {1,2,3,4,5};
then use those object array as handles?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform