This C# program assignment requires that you write and call two programmer defined methods as described below: Method #1 (MyAddress) – this programmer defined method should output your name and address in a mailing label format. This method does not require any parameters, and will not return any value. Method #2 (AddressOut) – this programmer defined method should have three string parameters (name, address, and city‐state‐zip) and should output the passed parameters in mailing label format. This method will not return any value. Your Main() method for this program should consist of two lines of code – calls to each of the methods. Here is an example of the code in my Main() method MyAddress(); AddressOut(“Tim Jones”, “123 Main St.”, “East Brunswick, NJ 08816”);
This C#
Method #1 (MyAddress) – this programmer defined method should output your name and address in a mailing label
format. This method does not require any parameters, and will not return any value. Method #2 (AddressOut) – this
programmer defined method should have three string parameters (name, address, and city‐state‐zip) and should output
the passed parameters in mailing label format. This method will not return any value. Your Main() method for this
program should consist of two lines of code – calls to each of the methods. Here is an example of the code in my Main()
method
MyAddress();
AddressOut(“Tim Jones”, “123 Main St.”, “East Brunswick, NJ 08816”);
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images