UseMauiApp is a .NET MAUI host-builder extension method that registers the application type used to launch an app. It receives App as its type parameter; App implements IApplication through the Application base class. section 2.3
Registering App in MauiProgram.cs
Call UseMauiApp<App>() while configuring the MauiApp builder, then build the host. The App constructor assigns a ContentPage instance to MainPage, which .NET MAUI displays after loading. section 2.3
Figure 2.13 In a .NET MAUI app, MauiProgram is the entry point, which launches App, which displays MainPage.
Follow the startup chain from MauiProgram through App to the page assigned to MainPage. section 2.3
