title: How do I go back to the top of the code?
body: <p>I have been learning C# and I am creating an app.</p>
  
  <p>I have tried goto statements however the labels are "out of range" I want it to send me back to the original layout which I found out I need to go back to the top of the code.</p>
  
  <pre><code>            namespace TheAppOfJack
              {
              [Activity(Label = "The App Of Jack", MainLauncher = true, Icon = "@drawable/icon")]
              public class MainActivity : Activity
              {
  
              int count = 1;
  
              protected override void OnCreate(Bundle bundle)
              {
  
              base.OnCreate(bundle);
  
              SetContentView(Resource.Layout.Main);
  
              Button button1 = FindViewById&lt;Button&gt;(Resource.Id.MyButton);
              button1.Click += delegate { button1.Text = string.Format("You have clicked this random button {0} times ( ͡° ͜ʖ ͡°)", count++); };
  
              Button button2 = FindViewById&lt;Button&gt;(Resource.Id.button1);
              button2.Click += delegate
              {
              SetContentView(Resource.Layout.Gallery);
              Button button3 = FindViewById&lt;Button&gt;(Resource.Id.back);
              button3.Click += delegate { SetContentView(Resource.Layout.Main); };
  
              Button button4 = FindViewById&lt;Button&gt;(Resource.Id.next1);
              button4.Click += delegate
              {
              SetContentView(Resource.Layout.Gallery2);
              button3.Click += delegate { SetContentView(Resource.Layout.Main); };
              Button button5 = FindViewById&lt;Button&gt;(Resource.Id.next2);
              button5.Click += delegate
              {
  
              SetContentView(Resource.Layout.Gallery3);
              Button button6 = FindViewById&lt;Button&gt;(Resource.Id.home);
              button6.Click += delegate {
  
              //this is where i want the code to send me back to the top };
              };
              };
              };
              }
              }
              }
  </code></pre>