Write a C-Sharp code to make a “Matrix”. User must be asked to enter the following information: Size of the matrix and values. The program must compute the following operations:

1. sumMatrix (return the sum of all the values of array)

2. averageMatrix (return the average of all the values of array)

3. shiftRowUp (shifts all of the rows of the matrix upward)

4. shiftColumnRight (shift all the columns of the matrix rightward)

5. Reverse a row/column (Reverse the user specified row/ column)

6. Mirror row/ column (Check the user specified row/ column to be a mirror)

7. Exit the Program

Use another class “testClass” which makes object of the above Matrix class in the main function to get inputs and show all the outputs on screen

0