Thursday, July 3, 2008

More About Methods

Reading
Read the section entitled "More About Methods" starting on page 33. Read up to the section entitled "Methods That Send Values Back" on page 36.

Code
Revise your SayHello method to take a string parameter called someName, and use the someName parameter in your method. See an example of this near the bottom of page 34.
In your Main method of the Program class, modifiy the what you call the SayHello method to take the string parameter.

No comments: