Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-dimensional arrays
Message
From
14/07/2002 12:06:21
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00678465
Message ID:
00678497
Views:
18
I haven't worked with arrays yet, so I'm not familiar with the syntax. I was wondering if this can be defined differently. Like in VFP, where you define the array first, then fill it. Something like this maybe? It would definitely be more readable if you could ...
object[,] oArray = new object(something here?);
oArray[1,1] = 4
oArray[1,2] = "Claudio";

etc.
~~Bonnie


>>Boy, if I needed convincing that VB is a better option, this code does it!! It looks positively gibberishish.
>>
>
>In one line, I create an array and assing 8 values to it...
>Gibberish but powerfull gibberish :-)
>
>object[,] multitype = {{4, 5, 6, 1},{ "Claudio","Michel","Carlos","John"}};
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform