public double CheckStateAccount() { if (_isPinValid) { return(BankAccount.CheckStateAccount()); } Console.WriteLine("Access denied!"); return(double.NaN); }