byte* can be treated as a stringT* that doesnt need the unsafe keyword by the looks of itSpan<T>.operator== does not compare the values== is a reference equalsthingBack is already a stringstring x = gl.GetString(GLEnum.Extensions) is acceptablenullptr "keyword" existsnullptr is from a global using static Silk.NET.Core.DSL; that returns a NullPtr which all pointer types can be implicitly casted frombyte*T*Span<T>.operator====thingBackstring x = gl.GetString(GLEnum.Extensions)nullptrnullptrglobal using static Silk.NET.Core.DSL;NullPtrConstPtr<char> thing = nullptr;
ConstPtr2D<char> thing2 = nullptr;