public void Display() { int id = Int32.Parse(Console.ReadLine()); Accounte a = new Accounte(); Accounts acc = a.DisplayData(id); Console.WriteLine("Account id is {0} \n Holder is{1} \n Account branch is {2} \n balance amount is {3}", acc._accountId, acc._accountHolder, acc._accountBranch, acc._balanceAmount); }