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

String Are Reference Types

The lesson explains why strings are reference types in .NET, covering UTF-16 encoding, heap storage, and how two string variables can point to the same memory block. Demonstrates that assigning one string to another creates two references to the same heap object.