Part 11 - Making Your Own Methods

This section will cover how to create your own methods. We will create a static class and add some potentially useful methods that you can re-use in future projects.

Making Your Own Methods

What to do?:

1 - Read and work through Part 11 - Static Methods.

2 - Create a project and add a class called MyMethods as described in the tutorial. You may use this class in future projects.

3 - You are to implement the methods laid out in the tutorial. There are solutions here:

https://github.com/AldworthClass/Making-Static-Methods-CSharp

4 - Choose at least 5 of the additional methods and implement them in your MyMethods class. For 100%, you must also comment the methods using the commenting standards covered in the tutorial.

What to Submit?

1 - Submit your project with your MyMethods class, and a Main() method that demonstrated each of your methods working.

Commenting Documentation for your methods is required for a grade of 100%.

Here is a short explanation:

https://www.quora.com/What-is-the-C-equivalent-of-Javadoc

Here are the official Microsoft specifications (you do not need this much detail unless you are really interested):

https://docs.microsoft.com/en-us/dotnet/csharp/codedoc


Part 11 - Static Methods.pdf