Masking PAsword in Console application

I am writing a Console application, in which the user is prompted for a password.

How do I mask the password, that the user is typing in C#

Thanks for your help.



Answer this question

Masking PAsword in Console application