how to open new form on button click in csharp xamarin

Code Example - how to open new form on button click in csharp xamarin

                
                        private void button1Click(object sender, EventArgs e)
{            
     App.Current.MainPage = new settings();
}