Skip to main content
Module 4 of 13 4/13

The .NET String Type

After completing this section you will understand how the String class is implemented in the .NET type system. 

Lesson Preview

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.