Get the specific whole (0) dimension of a multidimensional array.

How can I possibly count only the specific whole row i want in a multidimensional array

I do the counting of my whole row like this

string[,] table = new string[104, 6];

IEnumerator Win_Log(){

GameObject p = Instantiate(prefab_gameobject) as GameObject;
p.transform.SetParent(pos_big_road);
p.transform.localScale = Vector3.one;

        img = (RawImage)p.GetComponent<RawImage>();
//COLUMN
        for(int col = 0; col < table.GetLength(0); col++)
        {
            int sum = 0;
            //ROW
            for (int row = 0; row < table.GetLength(1); row++)
            {
                if (table[col,row] != null)
                {
                    sum++;
                }
            }
            Debug.Log("table column: " + col + " has " + sum + " data");
        }
 }

The problem with this code is that it gets the whole multidimensional array . What i want is just to get the specific whole row then move to another row just like that.

You almost have it, you just need to remove iteration through all columns. Move the block in the outer for loop into a separate method, and then you can call it separately from anywhere. Like this:

private IEnumerator YourFunction () {
    for (int col = 0; col < table.GetLength(0); ++col) {
        int sum = CountRow(table, col);
        Debug.Log("table column: " + col + " has " + sum + " data");
        yield return null;
    }
}

// generic function, it will work on any 2D array (mostly because I don't know the type of your table variable :D )
public static int CountRow<T>(T[,] table, int col) {
    if (table == null || col < 0 || col >= table.GetLength(0)) {
        // handle error
        return -1;
    }

    // this is the same as the block of the outer for loop that you posted
    int sum = 0;
    for (int row = 0; row < table.GetLength(1); row++) {
        if (table[col, row] != null) { sum++; }
    }
    return sum;
}

Btw, here is a tutorial about 2D arrays in C#: C# 2D Array Examples - Dot Net Perls