How to configure two array, the first containing the numbers that will be divided, and the second contains the numbers that Divisible the first one
Asked
Active
Viewed 38 times
-2
-
I'm not sure what you mean - can you give an example? – Matthew Watson Jan 01 '16 at 13:25
-
Duplicate of http://stackoverflow.com/questions/5678216/all-possible-c-sharp-array-initialization-syntaxes – Deblaton Jean-Philippe Jan 01 '16 at 13:25
-
i want such this 4/2 or 8/4 or 9/3 or 12/3 – karrar9999 Jan 01 '16 at 13:33
1 Answers
0
Similar thing you are looking for?
List<Tuple<int, int>> recs = new List<Tuple<int, int>>();
recs.Add(new Tuple<int, int>(4, 2));
recs.Add(new Tuple<int, int>(8, 4));
recs.Add(new Tuple<int, int>(9, 3));
recs.Add(new Tuple<int, int>(12, 3));

Mallappa
- 1
- 3
-
The user was asking for arrays, you posted a List. A description of your solution would be nice. – ViRuSTriNiTy Jan 01 '16 at 14:23
-