Esempio n. 1
0
        static void Main(string[] args)
        {
            IDeskrip desk = new Baca();
            Bio      bi   = new Bio();

            string nama    = "Muhammad";
            string jabatan = "sekretaris desa";
            string telp    = "089654825055";
            string alamat  = "Cawas,Klaten";

            desk.View();
            bi.ViewBio(nama, jabatan, telp, alamat);
            bi.ViewData(nama, jabatan, telp, alamat);
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            IDeskrip desk = new Baca();
            Bio      bi   = new Bio();

            string nama   = "Joko santoso";
            string alamat = "Cibarusah Indah Jaya Blok DA 04";
            string jenis  = "laki-laki";
            string ktp    = "31234123121";
            string status = "Belum menikah";
            string agama  = "Islam";
            string telp   = "089654825055";

            desk.View();
            bi.ViewBio(nama, jenis, telp, alamat);
            bi.ViewData(nama, ktp, jenis, status, alamat, agama);
        }