Example #1
0
        public Movie deepCopy()
        {
            Movie temp = new Movie();

            temp.Title = title;
            temp.Director = director;
            temp.Rating = rating;
            temp.RunningTime = runningTime;
            temp.Year = year;
            temp.certificate = certificate;
            temp.genre = genre;

            foreach (string str in ActorList)
                temp.addActor(str);

            foreach (string str in ActorCharacterList)
                temp.addActorCharacter(str);

            foreach (string str in ActressCharacterList)
                temp.addActressCharacter(str);

            foreach (string str in ActressList)
                temp.addActress(str);

            return temp;
        }