What exactly is classified as a “symbol” in C#?
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. 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