A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Hello,
The functionality of these two classes is the same, as the App actually points to a App.xaml.cs in the MAUI project, and this class inherits from Application.
public partial class App : Application
Therefore, if you change the App here to something else, you can still call it. This is the same as calling Application directly.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.