Open Page1.Xaml.cs and add this code.
Step 6
Click Build menu, then go to Configuration Manager.
Configure your Android, Windows, iOS "Deploy" & "Build" setting and click Close.
Step 7
In this step, select Build & Deploy option, followed by clicking on "Start your Application".
Now, go to the "Run" option, choose Debug from the list of Android or iOS or UWP simulators. You can choose any one simulator and run it.
Output
After a few seconds, the app will start running on your Android simulator. You will see your app working successfully.