Beispiel #1
0
 public Song(string name, string gener, int year, Album album)
 {
     Name  = name;
     Gener = gener;
     Year  = year;
     Album = album;
     Console.WriteLine("Title: {0}\nGenre: {1}\nYear: {2}\nAlbum: {3}\n", Name, Gener, Year, Album.Represent());;
 }
Beispiel #2
0
 public Song(string name, string gener, int year, Compositor author, Compositor author1, Compositor author2, Album album)
 {
     Name    = name;
     Gener   = gener;
     Year    = year;
     Author  = author;
     Author1 = author1;
     Author2 = author2;
     Album   = album;
     Console.WriteLine("Title: {0}\nGenre: {1}\nYear: {2}\nAuthors: {3}, {4}, {5}\nAlbum: {6}\n", Name, Gener, Year, Author.Represent(), Author1.Represent(), Author2.Represent(), Album.Represent());
 }
Beispiel #3
0
 public Song(string name, string gener, int year, Artist author, Artist name1, Artist name2, Album album)
 {
     Name   = name;
     Gener  = gener;
     Year   = year;
     Author = author;
     Name1  = name1;
     Name2  = name2;
     Album  = album;
     Console.WriteLine("Title: {0}\nGenre: {1}\nYear: {2}\nAuthors: {3}, {4}, {5}\nAlbum: {6}\n", Name, Gener, Year, Author.Represent(), Name1.Represent(), Name2.Represent(), Album.Represent());
 }