How do I find the row and column that has the highest value with a C# program? The program asks the user to input how many rows and columns are in the program then asks for the numbers. Say I put in 4 columns and 3 rows for the matrix and then put in these numbers:

```
89 11 22 44
29 51 80 20
33 10 45 10

```

the output that I need in this case would be, "First largest value is located at row 1 and column 1". How do I get the program to find where the highest value is located as far as the program printing which row and column the highest value is in. When I try to call the method to get the return value, it won't print it. Here is my attempted code:

```cs
using System;

namespace locateLargest
{
    class Program
    {
        static void Main(string[] args)
        {
            int[,] arrayPart1 = new int[3, 4];

            for (int row = 0; row < arrayPart1.GetLength(0); row++)
            {
                for (int column = 0; column < arrayPart1.GetLength(1); column++)
                {
                    arrayPart1[row, column] = Convert.ToInt32(Console.ReadLine());
                }

            }

            for (int row = 0; row < arrayPart1.GetLength(0); row++)
            {
                for (int column = 0; column < arrayPart1.GetLength(1); column++)
                {
                    Console.Write("Value at [" + row + ", " + column + "]: " + arrayPart1[row, column] + "\t");
                }
                Console.WriteLine();
                 Console.WriteLine("The highest value in the array is at "+largest) 
            }

        }

            public static int[] LocateLargest(int[,] someArray)
                {

        {
            int largest = someArray[0, 0];
            int row, column;
            int maxRow = 0;
            int maxCol = 0;
            for (row = 0; row < someArray.GetLength(0); row++)
            {
                for (column = 0; column < someArray.GetLength(1); column++)
                {
                    if (someArray[row, column] > largest)
                    {
                        maxRow = row;
                        maxCol = column;
                        largest = someArray[row, column];
                    }
                }

            }
            return largest;

                }

            }
        }
    }

```