public static void Main()
Console.WriteLine("Input Row :");
int rows = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Input Coloumns :");
int columns = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Input Operand :");
string operand = Console.ReadLine();
int[] rsum = new int[10];
string[, ] arrey = new string[rows, columns];
int[, ] arrayInt = new int[rows, columns];
for (int i = 0; i < rows; i++)
Console.WriteLine("Input baris ke {0}", i);
string input = Console.ReadLine();
string[] values = input.Split(' ');
for (int j = 0; j < columns; j++)
for (int a = 0; a < rows; a++)
for (int j = 0; j < columns; j++)
arrayInt[a, j] = int.Parse(arrey[a, j]);
for (int i = 0; i < rows; i++)
for (int j = 0; j < columns; j++)
rsum[i] = rsum[i] + arrayInt[i, j];
Console.Write("The sum or rows and columns of the matrix is :\n");
for (int i = 0; i < rows; i++)
for (int j = 0; j < columns; j++)
Console.Write("{0} ", arrayInt[i, j]);
Console.Write("{0} ", rsum[i]);