Question: C# is object-oriented, as opposed to C, which is procedural. Why would you use an object-oriented language to write a program, rather than a procedural

C# is object-oriented, as opposed to C, which is procedural. Why would you use an object-oriented language to write a program, rather than a procedural one? Justify your response.

C# calls its procedures Methods. Why would you write a method? Couldnt you just write straight code to accomplish the same thing? Justify your response.

Constructors are used to determine how a class is constructed. This may require a little research, but why would you need to write a programmer-defined constructor, when C# provides a default constructor for each class. Please be specific, since, yes, if you write a constructor, you want a class to do something different from the default, but what might that be?

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!