A function to read from the C# Console but masks any character typed by the user.