Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# Programming: This week you will build at least two projects. One will contain a class library DLL (Dynamically Linked Library) that you will write.

C# Programming:

This week you will build at least two projects. One will contain a class library DLL (Dynamically Linked Library) that you will write. The other project will reference the DLL that you wrote and use it in the application. As always, your program shall use good object oriented technique and should have appropriate validation, error handling and commenting. (NOTE: Now that you have a DLL and a project that references it, you will want to think carefully about how you do error handling!)

The class library shall contain the following functionality:

A 1-dimensional integer array sorting method that takes in an array from outside the dll and returns a sorted array in ascending order to the caller.

A 1-dimensional integer array sorting method that takes in an array from outside the dll and returns a sorted array in descending order to the caller.

A 2-dimensional integer array sorting method that takes in an array from outside the dll and returns the sum of the array elements.

A 2-dimensional integer array sorting method that takes in an array from outside the dll and returns the product of the array elements.

You will want to test for empty arrays passed into the dll. How you handle empty arrays will be up to you.

Optional Challenge:

Write a Matrix Multiplication method that takes in two matrices and multiplies them and returns the resulting single matrix. You will need to check to ensure that the first matrix has the same number of rows as the second matrix has columns in order for the multiplication to work.

The program that used the dll shall be a design of your choosing.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions