I'm trying to help out a friend understand this but even I don't really get what they're doing here.
Here's the method I'm trying to explain to him:
public void AddDiagonal()
        {
            int Addition;
            for (int f = 0; f < filas; f++)
            {
                for (int c = 0; c < columnas; c++)
                {
                    if (f == columnas - c - 1)
                    {
                        Addition += matriz[f, c];
                    }
                }
            }
        }