If it is using WinUI is it as much C# as using doing AI in Python is Python.
See WinUi and WinAppSDK repos on Github.