How to change the default page of the Silverlight application?

  1. private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new MainPage.xaml; }

  2. private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new MainPage.xaml(); }

  3. private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new this.MainPage; }

  4. private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new MainPage(); }


Correct Option: D

Find more quizzes: