November 18, 2019
For this third project:
ArrayLib.cs and Program.cs.Program.cs: this is a test program that you should not modify. It will be useful to test the methods that you will be writting in the ArrayLib.cs class file. For each method, this program display the expected value, and what is actually returned. As you can see, only the Display method seems to be always correct.ArrayLib.cs. Every method listed in Program.cs has a header, but all the bodies are returning “default” values or do nothing, at the exception of Display. This last method was written for you.Your goal is to write the body of the methods in the ArrayLib class. You should not change their headers. Modify only their bodies, so that they return the “right” values, according to their description (in comment after their headers) and the test given in Program.cs. You can chage their order, or write them in any order: some of them are actually easier to write, and they are not the first ones: can you find a method that seems easy enough to start your project?
If you have the time and interrest, have a look at the challenges offered at the end of the ArrayLib.cs file.
Start by replacing YOUR-NAME-HERE and DATE-HERE with your actual name, and the date. Submit on D2L your ArrayLib.cs file (and only the ArrayLib.cs file, not the whole project) renamed as “lname_fname.cs”, where “lname” (resp. “fname”) is your last name (resp. first name) before Friday, November 22, 11:30 PM, in the “Project03” assignment submission folders.
Remember that I can check that you submitted your work properly, or give you partial feedback, but that you need first to upload it on D2L, and then to send me an email.