public Musiclabel(string n, string ad, string ec, Singer sm) { this.name = n; this.addass = ad; this.executive = ec; this.singerMusic = sm; }
static void Main(string[] args) { Singer s1 = new Singer("Yerim", "Yeri", "21", "1999 March 5"); Singer s2 = new Singer("Suyong", "Joy", "23", "1996 September 3"); Singer s3 = new Singer("Sungwan", "Wendy", "21", "1994 February 21 "); Musiclabel m1 = new Musiclabel("SM", "Korea", "LeeSooMan", s2); Console.WriteLine(m1); }