As you have just seen. C. is very good at hiding much of the basic memory management from the developer, thanks to the garbage collector and the use of references. However, sometimes you will want direct access to memory. For example, you might want to .access a function in an external (non-.NET) DLL that requires a pointer to…