public void PrintInformation() { Console.Write(" {0}", drawer.PrintFixString(name, 13)); Console.Write(" {0}", drawer.PrintFixString(studentNo, 16)); Console.Write(" {0}", drawer.PrintFixString(address, 27)); Console.Write(" {0}", drawer.PrintFixString(phoneNumber, 20)); }
// 행 내용을 글자 간격에 맞춰 출력 public void PrintInformation() { drawer = new UI.ScreenUI(); Console.Write(" {0}", drawer.PrintFixString(BookNo, 14)); Console.Write(" {0}", drawer.PrintFixString(Name, 25)); Console.Write(" {0}", drawer.PrintFixString(Company, 15)); Console.Write(" {0}", drawer.PrintFixString(Writer, 20)); if (Rental) { Console.WriteLine(" 대출 중 "); } else { Console.WriteLine(" 보유 중 "); } }