Question: When writing this code, please keep it simple and not advanced. As of this a beginner C sharp class assignment. Goals . Practice creating a

 When writing this code, please keep it simple and not advanced.
When writing this code, please keep it simple and not advanced. As of this a beginner C sharp class assignment.

Goals . Practice creating a class . Practice creating objects from a class Note: this is an 80 point homework assignment Problem Description Create a new Console Application named 'YourLastNameHMK4'. For this homework you will create a class that models one of the following objects A planet A University A board game A plane ticket Your class should implement the following Define two attributes of your class. These attributes must be of different data type, and one of the two attributes must require some sort of protection (i.e. only allow a certain input data range) Define a Default Constructor Define a Parameterized Constructor which allows initialization of both of your class's attributes Define a Property for each attribute Implement two methods (think of what an object of this class could do in an application, or what information an object of this class might be able to provide to an application) Once your class is created, in the Main) method, do the following Create an object from your class using the default constructor, and then initialize it through its parameters. Create an object from your class using the parameterized constructor Call a method from your class from each of the objects you created . Important! The code you submit should build without errors! A solution that is submitted with syntax errors may be penalized by up to 50%)

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!