I am currently working on console application.
I got an issue for login functionality in a console application .
If the user enters the username and password, then clicks the enter button, it will check other logic.
Now I want to the change the password(string)ordinary mode to password mode for anyone don't see the user input password .
Here is my code
Console.Write("Please enter the Password: ");
string password = Console.ReadLine();
I want to change the string (password) text mode to password, whenever the user type the password in console window.