What exactly is classified as a "symbol" in C#?
<p>So I am trying to write a program that asks for you to create a password.  I have a block of code that checks to see if the string entered by the user contains a symbol.  I have the code set to exit the loop when the boolean value 'validPassword' equals true.</p>

<pre><code>    string pleaseenterapassword = "Create a password:";
    bool validPassword = false;
    Console.WriteLine(pleaseenterapassword); // Writes to the screen "Create a password:"
    string password = Console.ReadLine(); //Sets the text entered in the Console into the string 'password'
    bool containsAtLeastOneSymbol = password.Any(char.IsSymbol);
    if (containsAtLeastOneSymbol == false) // Checks if your password contains at least one symbol
        {
            Console.WriteLine("Your password must contain at least one symbol.");
            validPassword = false;
        }
</code></pre>

<p>This code is successful if I enter something like "Thisismypassword905+", but it does not work if I enter something like "Thisismypassword95*".  I would appreciate any sort of help.  Thanks in advance!</p>