Question: Create a method that accepts a single integer parameter. Inside the method, print out a list of numbers starting at 1, going to the number

Create a method that accepts a single integer parameter.

Inside the method, print out a list of numbers starting at 1, going to the number supplied, where each number is on a line by itself, followed by a period.

Inside your main method, call your method with an integer value, example output could be like (assuming 3 is passed):

1.

2.

3.

c#

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!