a developer would have to explicitly write `if (ptr == (object?)null)` to make the compiler happy
a developer would have to explicitly write
if (ptr == (object?)null) to make the compiler happyif (ptr == (object?)null)if (ptr == nullptr)null intostdbool pretends otherwise
PtrMutPtr or what have you? i'm not so surePtr<T>, which on a personal level is all that I think is neededPtr<T> is a high level pointer to just stuffbyte** which the user can do whatever they please withunsafe in C# is by its very nature "extremely dangerous"if (ptr == nullptr)nullstdboolPtrMutPtrPtr<T>Ptr<T>byte**unsafe