diff --git a/telegram/Util.cs b/telegram/Util.cs index c8d8220..4d07545 100644 --- a/telegram/Util.cs +++ b/telegram/Util.cs @@ -187,9 +187,9 @@ namespace telegram { } public static string ReadConsolePassword() { - string pass = ""; + var pass = ""; do { - ConsoleKeyInfo key = Console.ReadKey(true); + var key = Console.ReadKey(true); if (key.Key != ConsoleKey.Backspace && key.Key != ConsoleKey.Enter) { pass += key.KeyChar; Console.Write("*");