Array containing references

hi forum,

i 've got the following problem:

i want to store references on some value-types in an array.

first idea -> ArrayList because easy to use and great to manage -> does not work, ArrayList cant take ref's

do you know if a normal array of the same type as the reference would do, or if i have to proceed something special?

regards
timbob

[edit: typo]
[430 byte] By [timbob] at [2007-11-18 13:41:41]
# 1 Re: Array containing references
create a special class storing ref types and associate that with ArrayList.
pareshgh at 2007-11-9 1:34:57 >
# 2 Re: Array containing references
?
can you give me some example-code to get this?
timbob at 2007-11-9 1:36:00 >
# 3 Re: Array containing references
actually when you store an object inside a arraylist
it itself is an reference,
you modify an object then it gets modified,
in C# you can pass objects are ref type.
but as I said earlier
Arraylist stores as objects in turn as references..
pareshgh at 2007-11-9 1:36:58 >