You are working for a company (jBlink Software Inc.) that recently had one of th

by

in

Need help with assignments?

Our qualified writers can create original, plagiarism-free papers in any format you choose (APA, MLA, Harvard, Chicago, etc.)

Order from us for quality, customized work in due time of your choice.

Click Here To Order Now

You are working for a company (jBlink Software Inc.) that recently had one of the programmers
leave. The programmer was working on a library of methods in C# to support Statistical
Calculations. The library was designed using a List of Double values and it is currently only
expected to work with that data type. Your boss has asked you to improve the quality of the code
by refactoring and adding appropriate documentation.
The code appears complete and includes a main method that executes each of the public
methods in the class. Since these are general-purpose methods each has been declared static
(class methods). All parameters to obtain the required functionality are passed as method
arguments.
General Assignment Requirements
Set up a project using Visual Studio and run the program. It should produce a set of results as
shown below:
Place the code into a source control system. Specifically, you have been asked to use Git for this
project. Git is included in Visual Studio. A tutorial on how to use the features of Git required for
this lab is available on the Canvas Modules page for this course.
Provided Guidelines
 C# Style Guide
o Refactor the code using the rules listed in the guide below
o https://www.dofactory.com/reference/csharp-coding-standards.
 XML Comments
o Comment all of the code according to the guidelines in the link below
o https://docs.microsoft.com/en-us/dotnet/csharp/programming-
guide/xmldoc/recommended-tags-for-documentation-comments
Tasks / Check List
The specific steps for this lab are listed below:
 Create a new Visual Studio project and add the source file (A3.cs) to the project.
 Execute the project and ensure you see the results in the output window.
 Create a GIT repository for the project.
o In Visual Studio 2019 Community Edition, this will automatically add and commit
all the files.
o If you are working in a different version, ensure all files have been added and
committed.
 In order to understand the methods, it is suggested that you modify the main method and
attempt to pass different parameters to the methods.
 Document and improve the source code using the rules from the C# style guide provided
on the first page of the assignment.
o A list of the rules that you applied from the C# style guide to the code must be
included at the top of the source file in a comment.
o List only the rules you actually applied to the code.
o List the rules by name, (i.e. DO use Pascal Casing for class names and method
names).
 Comment / Document the code following the guide provided on the first page of the
assignment.
 Once code changes and commenting are complete, commit these changes to the
repository, using the following commit comment: “COMMIT#2 – Source Code
Improvements”.
PLEASE CHECK BELOW MARKING SCHEME
Your submission will be evaluated for:
 Initial repository creation and a 2nd commit – proper use of Git (20%),
 Code refactoring based on Guidelines, and including rules applied as a comment (40%),
 Commenting the methods as required with documentation comments (40%).
PLEASE FIND ATTACHED SCREENSHOT AND THE SOURCE CODE TO START THE PROJECT WITH!

Need help with assignments?

Our qualified writers can create original, plagiarism-free papers in any format you choose (APA, MLA, Harvard, Chicago, etc.)

Order from us for quality, customized work in due time of your choice.

Click Here To Order Now