This is a past exam question and I’m not sure how you would answer that to get full credit.
How could you demonstrate that array types are reference types?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://msdn.microsoft.com/en-us/library/s6938f28.aspx
Create an array type outside of a method and populate it with values.
Send it into the method and change a value.
Read it outside of the method to see that the value did actually change.