using System; public class Exercise23 { public static void Main() { int i,j,sum=0,n; int[,] arr1 = new int[50,50]; Console.Write("\n\nFind sum of right diagonals of a matrix :\n"); Console.Write("---------------------------------------\n"); Console.Write("Input the size of the square matrix : "); n=Convert.ToInt32(Console.ReadLine()); Console.Write("Input elements in the first matrix :\n"); for(i=0; i