A string can potentially contain a lot of data, and there's no telling what
size a particular string might need to be.
Therefore, not only does it make little sense to try and store a string in a
register or on the stack, or anything else you'd do with a value type,
strings have always been pointers in traditional languages.
Why would it be a value type?
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"RN1" <rn**@rediffmail.comwrote in message
news:ed**********************************@n20g2000 hsh.googlegroups.com...
If I am not mistaken, String is reference type. Can someone please
explain me why is it reference type & not value type?