CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.88k stars 544 forks source link

Plug Multi Dimensional Arrays #1920

Open ThomasBeHappy opened 2 years ago

ThomasBeHappy commented 2 years ago

What is the usecase for this plug When using Multi Dimensional Arrays for stuff like grids, makes your life a whole lot easier.

Complexity of plug Medium-High

Describe alternatives you've considered Using an array with a width*height as size.

Additional context I know a lot of people will say that using a normal array will be good enough, but when it comes to stuff like 3 dimensions, a multi dimensional array becomes a lot easier to use.

valentinbreiz commented 2 years ago

image

Two dimensional arrays works fine for me, when you talk about multi-dimensional @ThomasBeHappy, is it more than two?

quajak commented 2 years ago

I think this is about arrays of the type int[,] array.