Question: Write a C# console application named GirlScout that contains fields for a GirlScout's name, troop number, and dues owed. Include a constant static field that

Write a C# console application named GirlScout that contains fields for a GirlScout's name, troop number, and dues owed. Include a constant static field that contains the last words of the GirlScout motto ("to obey the Girl Scout law"). Include overloaded constructors that allow you to set all three nonstatic GirlScout fields to default values or to parameter values. Also include properties for each field. Create a class named DemoScouts that instantiates two GirlScout objects and displays their values. Create one object to use the default constructor and the other to use the constructor that requires arguments. Also display the GirlScout motto. Save the class as DemoScouts.cs.

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!