List<int> dd = new List<int>() { 1, 2, 3, 4, -1, -2, -4, 5, 9, 7, 5, 8, 9 };
how to Divide list in lambda with The condition is positive or negative number
result =[1,2,3,4],[-1,-2,-4],[5,9,7],[7, 5, 8, 9]
What I have tried:
<pre> List<int> dd = new List<int>() { 1, 2, 3, 4, -1, -2, -4, 5, 9, 7, 5, 8, 9 };
how to Divide list in lambda with The condition is positive or negative number
result =[1,2,3,4],[-1,-2,-4],[5,9,7],[7, 5, 8, 9]