C # Program to read a square matrix and print the Corner Elements
using System ; class GFG { public static void Main ( String [ ] args ) { int [ , ] matrix = new int [ 5 , 5 ] ; int row_index , column_index , x = 0 , size = 5 ;