Skip to main content
Module 12 of 13 12/13

Pointers in C#

In this module, we're going to explore using pointers in C# to interact with heap memory directly.

Lesson Preview

We introduce advanced C# optimizations and the pointer feature hidden behind the unsafe keyword. The lesson covers what unsafe code means for .NET assembly verification, why the OS and company policies restrict unsafe assemblies, and how to declare an unsafe scope block or mark an entire method unsafe.