public void CalculateInterest(int accountID) { float value = databasObject.CalcInterest(accountID); Console.WriteLine("Interest is :- " + value); }