How can I populate array of tuples from array?
I have to populate array of tuples from array:
My array is = [1,0.004,5,0.03]
It should be moved to array of tuples Tuple<int,double>
(1, 0.004), (5, 0.03)
I m workin with c#. Could you please help me?
No comments:
Post a Comment