WinUI, WinAppSDK are built on top of WinRT, which is C++ for the most part.
That is the whole joke about it, Windows division tried to kill .NET with their updated COM based on Vista victory over Longhorn, and the whole AddRef/Release makes it slower than WPF applications.
https://arstechnica.com/features/2012/10/windows-8-and-winrt...