From 711cd155b7915a9b3804011bbe3b4955d828152a Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 15 Dec 2019 15:32:29 +0100 Subject: [PATCH] fix code style --- telegram/Util.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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("*");