Multi Dimension Arrays?

Sep 11, 2010 at 3:43 AM

Are multi dimensional arrays implemented yet, 2 dimesional or 3 dimensional? i really need at least 2 dimensional arrays for a video player

Coordinator
Sep 11, 2010 at 8:11 AM
As far as I know, multi-dimensional arrays are not supported. What you could do, is use jagged arrays:

var xMyArray = new int[4][4][4];
xMyArray[0][1][2] = 3;


On Sat, Sep 11, 2010 at 5:43 AM, xdalutzx <notifications@codeplex.com> wrote:

From: xdalutzx

Are multi dimensional arrays implemented yet, 2 dimesional or 3 dimensional? i really need at least 2 dimensional arrays for a video player

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Coordinator
Sep 11, 2010 at 2:33 PM
xdalutzx wrote:
> Are multi dimensional arrays implemented yet, 2 dimesional or 3
> dimensional? i really need at least 2 dimensional arrays for a video player

IIRC not yet, but you can do arrays of arrays I think, which do the same
thing.
Sep 11, 2010 at 9:50 PM

yah i got it working :) so now i got a video player