Question On Reference Types

  • Thread starter Thread starter thomson
  • Start date Start date
T

thomson

Hi All,
Probably it may be a dump question, But as iam in a learning
Phase, you have the right to ask these questions

Why we need Reference Types?
What is the advantage of that when compared to value types.

For eg: Class can be implemented using structures which is a value
type.

Thanks in Advance

Thomson
 
If we only had struct/value types everytime you pass such an object to a
method or assign it to a variable the whole object would be copied.
 
Back
Top