solve in c#
Define a class named Movie.Include private fields for the title, year and name of the director.Include following member functions• SetTitle,• SetYear,• SetDirector.• Display() that displays all the information about a Movie.• Compare() which accepts 2 objects of type Movie and displays whether or not they were released in the same year and also whether the Directors are same. This method must exist as a class member and not as an instance member.Provide a default constructor and a copy constructor to this class.Illustrate all the constructors as well as all the methods by defining two objects movie1 and movie2.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here