コード例 #1
0
        public void list()
        {
            albumList ListAlbum = new albumList();
            int       i;

            for (i = 0; i < ListAlbum.total; i++)
            {
                namaGBBB[i] = ListAlbum.GBBBnama[i];
            }

            for (i = 0; i < ListAlbum.total; i++)
            {
                judulalbum[i] = ListAlbum.albumJudul[i];
            }

            for (i = 0; i < ListAlbum.total; i++)
            {
                IDalbum[i] = ListAlbum.albumID[i];
            }

            for (i = 0; i < ListAlbum.total; i++)
            {
                versialbum[i] = ListAlbum.albumVers[i];
            }
        }
コード例 #2
0
        public void tampil()
        {
            albumList albumList = new albumList();

            for (int i = 0; i < albumList.total; i++)
            {
                Console.WriteLine("{0} Group, Judul Album {1}, Vers Album {2} ", namaGBBB[i], judulalbum[i], versialbum[i]);
            }
        }