dereference

Following a reference or pointer to reach the value it points at.

In more detail

Dereferencing a null reference or nil pointer is a common crash at run time. Some compilers, such as C# with nullable reference types, warn when code dereferences something that might be null.

Examples

code.Length dereferences code (C# warning CS8602 if code may be null)
*label = *label + "-ready"

Related terms

Taught in

References