Writing Homework Help

WRHC Code Reuse and Packages in Library Essay

 

I don’t understand this Writing question and need help to study.

The .NET Framework includes a large collection of class libraries that you can use in your applications. These libraries includes different classes that expose methods that can be helpful for us to use (Like int.Parse(), Console.ReadLine(), and so on). Answer the following topics in terms of creating methods that can be shared in a class library. Remember that a class library can be referenced from a program and then all the code in that library can be re-used.

  1. Since methods help aid in code reuse, what are some methods that you think could be useful to have in a code library? (be specific but this could include math functions, input validation, or others)
  2. Visit the NuGet Gallery at https://www.nuget.org/
  3. Search for a package that may contain some of the code you listed in #1. If you can’t find an exact match, search and find another package you think is interesting.
  4. Describe the package you found that was similar or interesting – feel free to browse to the project’s website and look at the code for how to interact with the package.

Adding a NuGet package reference is a little out of scope for what we’re doing in class, but I would recommend you try to add a NuGet package you’re interested in to a project in Visual Studio and try to call it. For well-documented packages, there should be a link with a getting started wiki page that shows you how to get it setup and showcase some basic library usage.