title: Not all my code paths return a value.
body: <p>I deliberately designed this code, and i can't use it. Can i override this fail-safe?</p>
  
  <pre><code>do // Checks if the chosen name is also the right name
          {
              string test;
              Console.Write("Are you sure " + temp + " is the right name? (y/n)\n");
              test = Console.ReadLine();
              Console.Write("\n");
              if (test.ToLower() == "y")
              {
                  nameIsRight = true;
                  return temp;
              }
              else if (test.ToLower() == "n")
              {
                  Console.Write("What is your name then?\n");
                  temp = Console.ReadLine();
              }
              Console.Write("\n");
          } while (nameIsRight == false);
  </code></pre>