C# Variable Redefinition
<p><strong>Problem:</strong></p>

<p>Hello, this is my first post so I'm not sure exactly how to go about it. I've recently been self teaching(reading books) C#, so I'm obviously not very good. But here is my problem, see, in my code a variable(attempt) needs to be changed in result of someone entering a value lower than 29. But because it is in a smaller set of curly brackets it is only known to that code block. Is there any command or solution that will allow that to change the value of the variable even though it is in a smaller scope?
 Thanks, Jason</p>

<p><strong>Code:</strong></p>

<pre><code>using System;

class firstelsestatement {
 public static void Main() {
  string age;
  int ageval;
  bool restart;
  bool attempt;

 Begin: 
  if( restart == false ) {
   attempt = false

  Console.WriteLine("How old are you?");

  age = Console.ReadLine();
  restart = false;
  ageval = Convert.ToInt32(age);

  if( ageval &gt; 29 ) {
    Console.WriteLine("What!? {0}!? Don't you mean 29?", ageval);
   }
  else {
   if( attempt == false ) {
   Console.WriteLine("Real age!");
   attempt = true
   goto Begin;
    }

   if( attempt == true ) {
   Console.WriteLine("Oh-kayy");
      }

    }
   }
  }
 }
</code></pre>
