static string ReadPassword(int length, char c)
The method should allow you to enter a string as a password. length is the minimum length of the password and c is the character displayed on the screen for each digit of the password.
Enter a password with at least 8 characters for use in the Main:
string pwd = ReadPassword(8, '●')
The user types the letters of his / her password. On the screen, however, do not appear letters , but the character that is stored in c, For example the bullet '●'.
How do i build the program in such way that it writes * for each character typed in the console eaven though my method ends at return s;?