Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

is it possible to make multidimensional array like this?

I generally work with php.

dizi["test"]["ad"]="Ceyhun"
dizi["test"]["soyad"]="Usan"
dizi["test"]["ustid"]=11
dizi["test"]["id"]=10

dizi["altid"]["ad"]="Mehmet"
dizi["altid"]["soyad"]="Pasas"
dizi["altid"]["ustid"]=11
dizi["altid"]["id"]=10

can I create an array like this?
and print to screen like
test => Ad=Ceyhun, Soyad=Usan, Ustid=11, id=10
altid => Ad=Mehmet, Soyad=Pasas, Ustid=11, id=10

this?
[479 byte] By [Jayhoonova] at [2007-11-11 10:01:46]
# 1 Re: is it possible to make multidimensional array like this?
http://www.google.com/search?q=c%23+multidimensional+array
Phil Weber at 2007-11-11 23:12:13 >
# 2 Re: is it possible to make multidimensional array like this?
Hi. I have searched lots of webpage about multidimentional, hashtable, arraylist...
but I am looking for associated arrays in .net
And I learned that that is not supported by .net
Because of that I wrote this example to find a solution about my problem...
can anyone write down a logic for this?

dizi["altid"]["ad"]="Mehmet"
dizi["altid"]["soyad"]="Pasas"
dizi["altid"]["ustid"]=11
dizi["altid"]["id"]=10
Jayhoonova at 2007-11-11 23:13:13 >