If i use Console.ReadLine() to read a password then all the text entered is visible on the console. How can i read the password without making it visible?
Asked
Active
Viewed 5,511 times
1 Answers
2
You can use Console.ReadKey(true),and concatenate internally chars into a string

Felice Pollano
- 32,832
- 9
- 75
- 115