D
D
doublench212015-11-29 14:10:36
WPF
doublench21, 2015-11-29 14:10:36

Selecting Items for a ListView?

How to force to select not all elements of the list, but let's say elements through one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MonkAlex, 2015-11-29
@MonkAlex

From google:
Instead of nStep - 2 in your case
return list.Where((x, i) => i % 2 == 0);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question