خرید بک لینک

Vote count: 0

Why do I get an Out of Range Exception here?

My Code -the method takes int[][] numbers as a Parameter- :

 List<int> myList = new List<int>();
 for (int i = 0; i < numbers.GetUpperBound(0); i++)
     {
       for (int z = 0; z < numbers.GetUpperBound(1); z++)
           {
                myList.Add(intervals[i][z]);
           }
      }

I tried to Google it, but I don't have any glue.

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 20 ارديبهشت 1395 ساعت: 5:46

صفحه بندی