using System.Globalization;
using System.Collections.Generic;
using System.Collections;
public static void Main()
int[] list1 = new int[4] { 0, 1, 1, 2};
int[] list2 = new int[4] { 0, 5, 0, 0};
int[] list3 = new int[4] { 2, 0, 3, 3 };
int[][] lists = new int[][]{list1, list2, list3};
var result = TestMethod(lists);
public static int TestMethod(int[][] matrix)
var lstOfIntsToAdd = new List<int>();
for(int i = 0; i < 4; i++){
for(int j = 0; j < 3; j++){
Console.Write("matrix[[{1}][{0}]] = {2} /", j, i, matrix[j][i]);
return lstOfIntsToAdd.Sum();