Current the lib is in beta mode and new.
Let's check it again after 1 year (Dec 2023).
https://github.com/microsoft/CsWin32
currently the lib isn't C# friendly e.g.
following change:
User32.SetCursor(User32.LoadCursor(IntPtr.Zero, new IntPtr((int)cursor)));
into:
PInvoke.SetCursor(PInvoke.LoadCursor(HINSTANCE.Null, (char*)(int)cursor));