Question: in C# please ... Write a program named Movie that contains a method named DisplayMovie that accepts and displays two parameters: A string name of

in C# please ...

Write a program named Movie that contains a method named DisplayMovie that accepts and displays two parameters: A string name of a movie An integer running time in minutes For example, if the movie name is Titanic and its length is 182 minutes, the output should be: Provide a default value for the minutes so that if you call the method without an integer argument, minutes is set to 90. Write a Main() method that proves you can call the movie method with only a string argument as well as with a string and an integer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!