|
-
August 29th, 2001, 08:11 AM
#1
Are all arrays reference types?
Are arrays of value types cosidered reference types themselves?
e.g., considering:
int [] array = new int[10];
is 'array' a reference type or a value type?
Thanks.
stephen
-
August 29th, 2001, 08:37 AM
#2
Reference types
Hi,
arrays are allways reference types, as every array is inherited from the class System.Array and objects are - as you surely know - allways reference types, too. I hope this helps.
Greetings,
Golo Haas
--
http://www.golohaas.de - the web the way you want it
http://www.guidetocsharp.de - make the internet intelligent
-
August 29th, 2001, 09:19 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|