I
Ilyas
Hi all
I have the following code:
List<int> items1 = new List<int>() { 1, 2, 3, 4, 5 };
items1.SkipWhile(i => i % 2 == 1).ToList()));
this produces {2,3,4,5} I was epecting 2,4
Can anyone explain? - I'm trying to get al the even numbers
I have the following code:
List<int> items1 = new List<int>() { 1, 2, 3, 4, 5 };
items1.SkipWhile(i => i % 2 == 1).ToList()));
this produces {2,3,4,5} I was epecting 2,4
Can anyone explain? - I'm trying to get al the even numbers