Skip to main content
This is lesson 5 of 11 in this module 5/11

Reference Types (part 2)

The lesson demonstrates how assigning a reference type copies only the 8-byte memory address rather than the object, explains why the == operator compares references by default, and shows when to use .Equals() to compare object contents instead of memory addresses.

Video lesson

Want to watch this lesson?

This lesson is part of the study plan. Get instant access to all lectures, labs and practice exams.

Get the Study Plan