Can't seem to loop switch statement
<p>What I am trying to do, is after the person puts in their name, ask them if they'd like to do it again, if not, hit n, and exit the program. But I can't seem to get it to work. I've tried adding an exit case, still nothing.</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestApp
{
    class Program
{
    static void Main()
    {
        Console.Write("Please enter your name: ");
        string name = Console.ReadLine();
        Test(name.ToLower());
        Console.ReadLine();

    }

    static void Test(string name)
    {
        bool exit = true;
        string answer = "";

        do
        {
            switch (name)
            {
                case "name":
                    Console.WriteLine("Hello Name");
                    break;
                case "name2":
                    Console.WriteLine("Hello Name2");
                    break;
            }

            Console.WriteLine("Would you like to enter a new name? y/n: ");
            if (answer == "y")
                exit = false;
            else
                exit = true;
        }
        while (exit == false);
    }
}
}
</code></pre>
