IApplication is the .NET MAUI interface required by UseMauiApp for the application-root type. The template's App class inherits Application, which implements IApplication. section 2.3
Application startup
MauiProgram.CreateMauiApp builds a MauiApp and calls UseMauiApp<App>(). App then assigns MainPage = new MainPage(), allowing .NET MAUI to display that page after loading. section 2.3
