akosiraff

GirlScout C#

Mar 5th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Download: http://solutionzip.com/downloads/girlscout-c/
  2.  
  3. Create a class named GirlScout that contains fields for a GirlScout’s name, troop number, and dues owed. The program should justify the following conditions:
  4. Include a constant static field that contains the last words of the GirlScout motto (“to obey the Girl Scout law”).
  5. Include overloaded constructors that allow you to set all three nonstatic GirlScout fields to default values or to parameter values.
  6. Include properties for each field.
  7. Create a class named DemoScouts that instantiates two GirlScout objects and displays their values.
  8. Create one object to use the default constructor and the other to use the constructor that requires arguments.
  9. Display the GirlScout motto.
  10. Save the class as DemoScouts.es
  11.  
  12. Download: http://solutionzip.com/downloads/girlscout-c/
Advertisement
Add Comment
Please, Sign In to add comment